Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 31 lines 680 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pytz 5, pythonOlder 6, six 7}: 8 9buildPythonPackage rec { 10 pname = "django-modelcluster"; 11 version = "5.0.1"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "1fk7fh30i0fzi0hjd841vxh25iryvgp4lirmxfpq428w4nq7p1bg"; 16 }; 17 18 disabled = pythonOlder "3.5"; 19 20 doCheck = false; 21 22 propagatedBuildInputs = [ pytz six ]; 23 24 meta = with stdenv.lib; { 25 description = "Django extension to allow working with 'clusters' of models as a single unit, independently of the database"; 26 homepage = https://github.com/torchbox/django-modelcluster/; 27 license = licenses.bsd2; 28 maintainers = with maintainers; [ desiderius ]; 29 }; 30 31}