Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 58 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, buildPythonPackage, django, netaddr, six, fetchFromGitHub, pythonOlder# required for tests#, djangorestframework#, psycopg2}:
buildPythonPackage rec { pname = "django-postgresql-netfields"; version = "1.3.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "jimfunk"; repo = pname; rev = "v${version}"; hash = "sha256-I+X4yfadtiiZlW7QhfwVbK1qyWn/khH9fWXszCo9uro="; };
propagatedBuildInputs = [ django netaddr six ];
# tests need a postgres database doCheck = false;
# keeping the dependencies below as comment for reference # checkPhase = '' # python manage.py test # '';
# buildInputs = [ # djangorestframework # psycopg2 # ];
# Requires psycopg2 # pythonImportsCheck = [ # "netfields" # ];
meta = with lib; { description = "Django PostgreSQL netfields implementation"; homepage = "https://github.com/jimfunk/django-postgresql-netfields"; changelog = "https://github.com/jimfunk/django-postgresql-netfields/blob/v${version}/CHANGELOG"; license = licenses.bsd2; maintainers = with maintainers; [ ]; };}