Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
890 B · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, django, python, setuptools,}:
buildPythonPackage rec { pname = "django-picklefield"; version = "3.3.0"; pyproject = true;
src = fetchFromGitHub { owner = "gintas"; repo = "django-picklefield"; tag = "v${version}"; hash = "sha256-/H6spsf2fmJdg5RphD8a4YADggr+5d+twuLoFMfyEac="; };
build-system = [ setuptools ];
dependencies = [ django ];
checkPhase = '' runHook preCheck ${python.interpreter} -m django test --settings=tests.settings runHook postCheck '';
pythonImportsCheck = [ "picklefield" ];
meta = with lib; { description = "Pickled object field for Django"; homepage = "https://github.com/gintas/django-picklefield"; changelog = "https://github.com/gintas/django-picklefield/releases/tag/${src.tag}"; license = licenses.mit; maintainers = [ ]; };}