Merge pull request #203970 from tjni/django-postgresql-netfields
python310Packages.django-postgresql-netfields: 1.2.2 -> 1.3.0
This commit is contained in:
commit
af511a29c4
@ -4,23 +4,32 @@
|
|||||||
, netaddr
|
, netaddr
|
||||||
, six
|
, six
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, pythonOlder
|
||||||
# required for tests
|
# required for tests
|
||||||
#, djangorestframework
|
#, djangorestframework
|
||||||
#, psycopg2
|
#, psycopg2
|
||||||
#, unittest2
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "1.2.2";
|
|
||||||
pname = "django-postgresql-netfields";
|
pname = "django-postgresql-netfields";
|
||||||
|
version = "1.3.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jimfunk";
|
owner = "jimfunk";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1rrh38f3zl3jk5ijs6g75dxxvxygf4lczbgc7ahrgzf58g4a48lm";
|
hash = "sha256-I+X4yfadtiiZlW7QhfwVbK1qyWn/khH9fWXszCo9uro=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
django
|
||||||
|
netaddr
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
# tests need a postgres database
|
# tests need a postgres database
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
@ -32,18 +41,18 @@ buildPythonPackage rec {
|
|||||||
# buildInputs = [
|
# buildInputs = [
|
||||||
# djangorestframework
|
# djangorestframework
|
||||||
# psycopg2
|
# psycopg2
|
||||||
# unittest2
|
|
||||||
# ];
|
# ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
# Requires psycopg2
|
||||||
django
|
# pythonImportsCheck = [
|
||||||
netaddr
|
# "netfields"
|
||||||
six
|
# ];
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Django PostgreSQL netfields implementation";
|
description = "Django PostgreSQL netfields implementation";
|
||||||
homepage = "https://github.com/jimfunk/django-postgresql-netfields";
|
homepage = "https://github.com/jimfunk/django-postgresql-netfields";
|
||||||
|
changelog = "https://github.com/jimfunk/django-postgresql-netfields/blob/v${version}/CHANGELOG";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user