Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
781 B · 38 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839{ lib, buildPythonPackage, fetchFromGitHub, django, pytest, pytest-django, python,}:
buildPythonPackage rec { pname = "django-picklefield"; version = "3.2.0"; format = "setuptools";
# The PyPi source doesn't contain tests src = fetchFromGitHub { owner = "gintas"; repo = pname; rev = "v${version}"; sha256 = "sha256-UMMbJoSHWcdumZOFPhKNUjThGzU/8nhP2J8YsDjgbHo="; };
propagatedBuildInputs = [ django ];
checkPhase = '' runHook preCheck ${python.interpreter} -m django test --settings=tests.settings runHook postCheck '';
meta = with lib; { description = "Pickled object field for Django"; homepage = "https://github.com/gintas/django-picklefield"; license = licenses.mit; maintainers = [ ]; };}