a71eb02b76
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
38 lines
807 B
Nix
38 lines
807 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, chardet
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-debian";
|
|
version = "0.1.49";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-jPZ3ow28tL56mVNsF+ETCKgnpNIgKNxZpn9sbdPw9Yw=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|