depot/third_party/nixpkgs/pkgs/development/python-modules/debian/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

33 lines
768 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, chardet
}:
buildPythonPackage rec {
pname = "python-debian";
version = "0.1.44";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ZVkv47ZPbGyT2U4tJZnbXgwigx07z/B8t7ltOECxMz4=";
};
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.gpl2;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}