depot/third_party/nixpkgs/pkgs/development/python-modules/django-reversion/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

29 lines
692 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, django
}:
buildPythonPackage rec {
pname = "django-reversion";
version = "5.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-JDoS7k4EwWEcDwdvv8MHTxrUCvxFrcZN5bokFMxOryk=";
};
# tests assume the availability of a mysql/postgresql database
doCheck = false;
propagatedBuildInputs = [ django ];
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";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}