2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 18:49:52 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, django
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-reversion";
|
2021-01-31 06:52:20 +00:00
|
|
|
version = "3.0.9";
|
2018-10-16 18:49:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-31 06:52:20 +00:00
|
|
|
sha256 = "a5af55f086a3f9c38be2f049c251e06005b9ed48ba7a109473736b1fc95a066f";
|
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 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 18:49:52 +01:00
|
|
|
description = "An extension to the Django web framework that provides comprehensive version control facilities";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/etianen/django-reversion";
|
2018-10-16 18:49:52 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|