504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
48 lines
931 B
Nix
48 lines
931 B
Nix
{ lib
|
|
, asn1crypto
|
|
, asysocks
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, oscrypto
|
|
, pythonOlder
|
|
, six
|
|
, tqdm
|
|
, unicrypto
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "minikerberos";
|
|
version = "0.4.4";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-GweGHGxAOLZqOnVdzOtw0xuvsrKsaB1gf1xZ/WuFR7w=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
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 = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|