Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 49 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchFromGitHub, django, django-taggit, pytz, pythonOlder, python}:
buildPythonPackage rec { pname = "django-modelcluster"; version = "6.0"; format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchFromGitHub { owner = "wagtail"; repo = pname; rev = "v${version}"; hash = "sha256-p6hvOkPWRVJYLHvwyn9nS05wblikRFmlSYZuLiCcuqc="; };
propagatedBuildInputs = [ django pytz ];
passthru.optional-dependencies.taggit = [ django-taggit ];
nativeCheckInputs = passthru.optional-dependencies.taggit;
checkPhase = '' runHook preCheck ${python.interpreter} ./runtests.py --noinput runHook postCheck '';
meta = with lib; { description = "Django extension to allow working with 'clusters' of models as a single unit, independently of the database"; homepage = "https://github.com/torchbox/django-modelcluster/"; license = licenses.bsd2; maintainers = with maintainers; [ desiderius ]; };
}