2018-10-16 18:49:52 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, django
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-reversion";
|
2019-02-04 18:55:21 +00:00
|
|
|
version = "3.0.3";
|
2018-10-16 18:49:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-04 18:55:21 +00:00
|
|
|
sha256 = "0xjs803r5fxaqpkjbpsb17j8racxa4q1nvjjaj1akkgkgw9dj343";
|
2018-10-16 18:49:52 +01:00
|
|
|
};
|
|
|
|
|
2019-01-21 10:24:07 +00:00
|
|
|
# tests assume the availability of a mysql/postgresql database
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-10-16 18:49:52 +01: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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|