2018-10-16 18:49:52 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, django
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-reversion";
|
2018-11-11 13:47:25 +00:00
|
|
|
version = "3.0.2";
|
2018-10-16 18:49:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-11 13:47:25 +00:00
|
|
|
sha256 = "9b8a245917e1bae131d3210c9ca7efbc066e60f32efa436e391c9803c3f4b61b";
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|