depot/third_party/nixpkgs/pkgs/development/python-modules/django_reversion/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

29 lines
705 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, django
}:
buildPythonPackage rec {
pname = "django-reversion";
version = "4.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "ad6d714b4b9b824e22b88d47201cc0f74b5c4294c8d4e1f8d7ac7c3631ef3188";
};
# 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; [ ];
};
}