5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
38 lines
866 B
Nix
38 lines
866 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, django
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-reversion";
|
|
version = "5.0.6";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-buJalwcN2hTz4IK4uZm/vstKnwgv8fhR40TQVqGMk0w=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
django
|
|
];
|
|
|
|
# Tests assume the availability of a mysql/postgresql database
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"reversion"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "An extension to the Django web framework that provides comprehensive version control facilities";
|
|
homepage = "https://github.com/etianen/django-reversion";
|
|
changelog = "https://github.com/etianen/django-reversion/blob/v${version}/CHANGELOG.rst";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|