nixpkgs/pkgs/development/python-modules/debian/default.nix
2022-11-22 13:01:11 +00:00

39 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 ];
};
}