48 lines
913 B
Nix
48 lines
913 B
Nix
{
|
|
lib,
|
|
asn1crypto,
|
|
asysocks,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
oscrypto,
|
|
setuptools,
|
|
six,
|
|
tqdm,
|
|
unicrypto,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "minikerberos";
|
|
version = "0.4.7";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-lzA9Gv3eqeOxjq/YxIvpMs2Y5QYiiJHyaCmBaH12zAk=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
asn1crypto
|
|
asysocks
|
|
oscrypto
|
|
six
|
|
tqdm
|
|
unicrypto
|
|
];
|
|
|
|
# no tests are published: https://github.com/skelsec/minikerberos/pull/5
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "minikerberos" ];
|
|
|
|
meta = with lib; {
|
|
description = "Kerberos manipulation library in Python";
|
|
homepage = "https://github.com/skelsec/minikerberos";
|
|
changelog = "https://github.com/skelsec/minikerberos/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|