nixpkgs/pkgs/development/python-modules/cccolutils/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

50 lines
808 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 ];
};
}