Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
944 B · 43 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, buildPythonPackage, fetchFromGitHub, setuptools, django, dj-database-url, pytest-django, pytestCheckHook,}:
buildPythonPackage rec { pname = "django-polymorphic"; version = "4.1.0"; pyproject = true;
src = fetchFromGitHub { owner = "django-polymorphic"; repo = "django-polymorphic"; tag = "v${version}"; hash = "sha256-QcJUKGhWPUHhVVsEZhhjN411Pz4Wn7OL2fhotPOGVm4="; };
build-system = [ setuptools ];
dependencies = [ django ];
nativeCheckInputs = [ dj-database-url pytest-django pytestCheckHook ];
pythonImportsCheck = [ "polymorphic" ];
meta = with lib; { changelog = "https://github.com/jazzband/django-polymorphic/releases/tag/${src.tag}"; homepage = "https://github.com/django-polymorphic/django-polymorphic"; description = "Improved Django model inheritance with automatic downcasting"; license = licenses.bsd3; maintainers = [ ]; };}