Files
nixpkgs/pkgs/development/python-modules/django-reversion/default.nix
2025-09-22 05:41:08 +00:00

40 lines
902 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
django,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "django-reversion";
version = "6.0.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "django_reversion";
inherit version;
hash = "sha256-yrD9kGQLLOs316iXgjynKiG5YK0dajuctONR+rvSfZw=";
};
build-system = [ setuptools ];
dependencies = [ django ];
# Tests assume the availability of a mysql/postgresql database
doCheck = false;
pythonImportsCheck = [ "reversion" ];
meta = with lib; {
description = "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 = [ ];
};
}