mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
39 lines
807 B
Nix
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 ];
|
|
};
|
|
}
|