159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
44 lines
837 B
Nix
44 lines
837 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
git,
|
|
gitpython,
|
|
krb5-c, # C krb5 library, not PyPI 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-c ];
|
|
|
|
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 ];
|
|
};
|
|
}
|