2021-01-15 22:18:51 +00:00
|
|
|
{ lib
|
|
|
|
, asn1crypto
|
|
|
|
, asysocks
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-06-04 09:07:49 +00:00
|
|
|
, oscrypto
|
2022-01-27 00:19:43 +00:00
|
|
|
, pythonOlder
|
2023-02-16 17:41:37 +00:00
|
|
|
, six
|
2022-12-02 08:20:57 +00:00
|
|
|
, tqdm
|
2022-03-30 09:31:56 +00:00
|
|
|
, unicrypto
|
2021-01-15 22:18:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "minikerberos";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.4.1";
|
2022-01-27 00:19:43 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-WgH+VQfPe//X03SoXwC817GCMlB5Zw37w9Ol58N5yVI=";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
asn1crypto
|
|
|
|
asysocks
|
2021-06-04 09:07:49 +00:00
|
|
|
oscrypto
|
2023-02-16 17:41:37 +00:00
|
|
|
six
|
2022-12-02 08:20:57 +00:00
|
|
|
tqdm
|
2022-03-30 09:31:56 +00:00
|
|
|
unicrypto
|
2021-01-15 22:18:51 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# no tests are published: https://github.com/skelsec/minikerberos/pull/5
|
|
|
|
doCheck = false;
|
2021-06-04 09:07:49 +00:00
|
|
|
|
2022-01-27 00:19:43 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"minikerberos"
|
|
|
|
];
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Kerberos manipulation library in Python";
|
|
|
|
homepage = "https://github.com/skelsec/minikerberos";
|
2022-12-02 08:20:57 +00:00
|
|
|
changelog = "https://github.com/skelsec/minikerberos/releases/tag/${version}";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|