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-08-18 14:14:07 +01:00
|
|
|
version = "4.0.0";
|
2018-10-16 18:49:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-18 14:14:07 +01:00
|
|
|
sha256 = "ad6d714b4b9b824e22b88d47201cc0f74b5c4294c8d4e1f8d7ac7c3631ef3188";
|
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-08-26 18:04:59 +01:00
|
|
|
pythonImportsCheck = [ "reversion" ];
|
|
|
|
|
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;
|
2021-08-26 18:04:59 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-10-16 18:49:52 +01:00
|
|
|
};
|
|
|
|
}
|