2021-01-09 22:46:46 +00:00
|
|
|
{ lib
|
|
|
|
, asn1crypto
|
|
|
|
, asysocks
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "minikerberos";
|
2021-02-09 11:01:01 +00:00
|
|
|
version = "0.2.9";
|
2021-01-09 22:46:46 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-09 11:01:01 +00:00
|
|
|
sha256 = "sha256-woYs8EYUfALCtqHUCVfF5z1v1UIc9D8Iep9n4NrNIlg=";
|
2021-01-09 22:46:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
asn1crypto
|
|
|
|
asysocks
|
|
|
|
];
|
|
|
|
|
|
|
|
# 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";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|