depot/third_party/nixpkgs/pkgs/development/python-modules/debut/default.nix
Default email 2189cff663 Project import generated by Copybara.
GitOrigin-RevId: 1fe6ed37fd9beb92afe90671c0c2a662a03463dd
2021-04-24 22:57:28 -05:00

38 lines
717 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, chardet
, attrs
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "debut";
version = "0.9.9";
src = fetchPypi {
inherit pname version;
sha256 = "a3a71e475295f4cf4292440c9c7303ebca0309d395536d2a7f86a5f4d7465dc1";
};
dontConfigure = true;
propagatedBuildInputs = [
chardet
attrs
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"debut"
];
meta = with lib; {
description = "Python library to parse Debian deb822-style control and copyright files ";
homepage = "https://github.com/nexB/debut";
license = with licenses; [ asl20 bsd3 mit ];
maintainers = teams.determinatesystems.members;
};
}