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 {
|
buildPythonPackage rec {
|
||||||
version = "1.3.0";
|
|
||||||
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";
|
||||||
@ -20,6 +23,12 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-I+X4yfadtiiZlW7QhfwVbK1qyWn/khH9fWXszCo9uro=";
|
hash = "sha256-I+X4yfadtiiZlW7QhfwVbK1qyWn/khH9fWXszCo9uro=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
django
|
||||||
|
netaddr
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
# tests need a postgres database
|
# tests need a postgres database
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
@ -33,15 +42,15 @@ buildPythonPackage rec {
|
|||||||
# psycopg2
|
# psycopg2
|
||||||
# ];
|
# ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
pythonImportsCheck = [
|
||||||
django
|
"netfields"
|
||||||
netaddr
|
|
||||||
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