2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
fetchPypi,
|
|
|
|
chardet,
|
2021-08-27 14:25:00 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-debian";
|
2022-11-27 09:42:12 +00:00
|
|
|
version = "0.1.49";
|
2022-09-09 14:08:57 +00:00
|
|
|
format = "setuptools";
|
2022-01-22 01:22:15 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-11-27 09:42:12 +00:00
|
|
|
hash = "sha256-jPZ3ow28tL56mVNsF+ETCKgnpNIgKNxZpn9sbdPw9Yw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ chardet ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "debian" ];
|
2021-08-27 14:25:00 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Debian package related modules";
|
2022-01-22 01:22:15 +00:00
|
|
|
homepage = "https://salsa.debian.org/python-debian-team/python-debian";
|
|
|
|
changelog = "https://salsa.debian.org/python-debian-team/python-debian/-/blob/master/debian/changelog";
|
2022-09-09 14:08:57 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ nickcao ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|