depot/third_party/nixpkgs/pkgs/development/python-modules/cccolutils/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

44 lines
801 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
git,
gitpython,
krb5,
mock,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "cccolutils";
version = "1.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "CCColUtils";
inherit version;
hash = "sha256-YzKjG43biRbTZKtzSUHHhtzOfcZfzISHDFolqzrBjL8=";
};
buildInputs = [ krb5 ];
propagatedBuildInputs = [
git
gitpython
mock
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cccolutils" ];
meta = with lib; {
description = "Python Kerberos 5 Credential Cache Collection Utilities";
homepage = "https://pagure.io/cccolutils";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ disassembler ];
};
}