nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, django
5}:
6
7buildPythonPackage rec {
8 pname = "django-reversion";
9 version = "5.0.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "sha256-C63jw5k4dFEIfwxng14NPRhtdn3mpcW6U6iOr8Pyccg=";
14 };
15
16 # tests assume the availability of a mysql/postgresql database
17 doCheck = false;
18
19 propagatedBuildInputs = [ django ];
20
21 pythonImportsCheck = [ "reversion" ];
22
23 meta = with lib; {
24 description = "An extension to the Django web framework that provides comprehensive version control facilities";
25 homepage = "https://github.com/etianen/django-reversion";
26 license = licenses.bsd3;
27 maintainers = with maintainers; [ ];
28 };
29}