depot/third_party/nixpkgs/pkgs/development/python-modules/minikerberos/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

48 lines
931 B
Nix

{ lib
, asn1crypto
, asysocks
, buildPythonPackage
, fetchPypi
, oscrypto
, pythonOlder
, six
, tqdm
, unicrypto
}:
buildPythonPackage rec {
pname = "minikerberos";
version = "0.4.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-WgH+VQfPe//X03SoXwC817GCMlB5Zw37w9Ol58N5yVI=";
};
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 ];
};
}