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