depot/third_party/nixpkgs/pkgs/development/python-modules/django_reversion/default.nix
Default email e7f069c37c Project import generated by Copybara.
GitOrigin-RevId: 467ce5a9f45aaf96110b41eb863a56866e1c2c3c
2020-06-02 20:00:15 +02:00

27 lines
634 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, django
}:
buildPythonPackage rec {
pname = "django-reversion";
version = "3.0.7";
src = fetchPypi {
inherit pname version;
sha256 = "72fc53580a6b538f0cfff10f27f42333f67d79c406399289c94ec5a193cfb3e1";
};
# tests assume the availability of a mysql/postgresql database
doCheck = false;
propagatedBuildInputs = [ django ];
meta = with stdenv.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;
};
}