c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
38 lines
807 B
Nix
38 lines
807 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, chardet
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-debian";
|
|
version = "0.1.48";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-YtUFR9BqVjjOHF6A19cB3fFpY7QHr89b3IPH3k25T3w=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
chardet
|
|
];
|
|
|
|
# No tests in archive
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"debian"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Debian package related modules";
|
|
homepage = "https://salsa.debian.org/python-debian-team/python-debian";
|
|
changelog = "https://salsa.debian.org/python-debian-team/python-debian/-/blob/master/debian/changelog";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|