2018-10-16 19:49:52 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, django
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-reversion";
|
2019-12-10 19:07:38 +01:00
|
|
|
version = "3.0.5";
|
2018-10-16 19:49:52 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-10 19:07:38 +01:00
|
|
|
sha256 = "1add55bb05311f4acd26683dd71af60729d4f33dfe42c608da8e15e679a32009";
|
2018-10-16 19:49:52 +02:00
|
|
|
};
|
|
|
|
|
2019-01-21 11:24:07 +01:00
|
|
|
# tests assume the availability of a mysql/postgresql database
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-10-16 19:49:52 +02:00
|
|
|
propagatedBuildInputs = [ django ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An extension to the Django web framework that provides comprehensive version control facilities";
|
|
|
|
homepage = https://github.com/etianen/django-reversion;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|