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";
|
2020-10-25 09:06:51 +00:00
|
|
|
version = "3.0.8";
|
2018-10-16 18:49:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-25 09:06:51 +00:00
|
|
|
sha256 = "49e9930f90322dc6a2754dd26144285cfcc1c5bd0c1c39ca95d5602c5054ae32";
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|