depot/third_party/nixpkgs/pkgs/development/python-modules/cccolutils/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

49 lines
802 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
];
checkInputs = [
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 ];
};
}