2021-08-27 14:25:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2022-01-22 01:22:15 +00:00
|
|
|
, pythonOlder
|
2021-08-27 14:25:00 +00:00
|
|
|
, fetchPypi
|
|
|
|
, chardet
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-debian";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "0.1.44";
|
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-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-ZVkv47ZPbGyT2U4tJZnbXgwigx07z/B8t7ltOECxMz4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-01-22 01:22:15 +00:00
|
|
|
propagatedBuildInputs = [ chardet ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-08-27 14:25:00 +00:00
|
|
|
pythonImportsCheck = [ "debian" ];
|
|
|
|
|
|
|
|
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";
|
2021-08-27 14:25:00 +00:00
|
|
|
license = licenses.gpl2;
|
2022-01-22 01:22:15 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|