Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, pytz 5, pythonOlder 6, six 7}: 8 9buildPythonPackage rec { 10 pname = "django-modelcluster"; 11 version = "5.0.2"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "c7a42cf9b93d1161a10bf59919f7ee52d996a523a4134b2a136f6fe1eba7a2fa"; 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}