mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-08 13:13:09 +00:00
python310Packages.django-postgresql-netfields: add changelog to meta
- disable on unsupported Python releases - add pythonImportsCheck
This commit is contained in:
parent
cad27dd109
commit
2210841466
@ -10,8 +10,11 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.3.0";
|
||||
pname = "django-postgresql-netfields";
|
||||
version = "1.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jimfunk";
|
||||
@ -20,6 +23,12 @@ buildPythonPackage rec {
|
||||
hash = "sha256-I+X4yfadtiiZlW7QhfwVbK1qyWn/khH9fWXszCo9uro=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
netaddr
|
||||
six
|
||||
];
|
||||
|
||||
# tests need a postgres database
|
||||
doCheck = false;
|
||||
|
||||
@ -33,15 +42,15 @@ buildPythonPackage rec {
|
||||
# psycopg2
|
||||
# ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
netaddr
|
||||
six
|
||||
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; [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user