1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 git, 6 gitpython, 7 krb5-c, # C krb5 library, not PyPI krb5 8 mock, 9 pytestCheckHook, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "cccolutils"; 15 version = "1.5"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 pname = "CCColUtils"; 22 inherit version; 23 hash = "sha256-YzKjG43biRbTZKtzSUHHhtzOfcZfzISHDFolqzrBjL8="; 24 }; 25 26 buildInputs = [ krb5-c ]; 27 28 propagatedBuildInputs = [ 29 git 30 gitpython 31 mock 32 ]; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 36 pythonImportsCheck = [ "cccolutils" ]; 37 38 meta = with lib; { 39 description = "Python Kerberos 5 Credential Cache Collection Utilities"; 40 homepage = "https://pagure.io/cccolutils"; 41 license = licenses.gpl2Plus; 42 maintainers = with maintainers; [ disassembler ]; 43 }; 44}