depot/third_party/nixpkgs/pkgs/development/python-modules/minikerberos/default.nix
Default email 73a29e0b97 Project import generated by Copybara.
GitOrigin-RevId: 5bb20f9dc70e9ee16e21cc404b6508654931ce41
2022-01-27 10:19:43 +10:00

41 lines
808 B
Nix

{ lib
, asn1crypto
, asysocks
, buildPythonPackage
, fetchPypi
, oscrypto
, pythonOlder
}:
buildPythonPackage rec {
pname = "minikerberos";
version = "0.2.15";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "20fae3cf1b329451eb3cba55d6b3c5b44501db5a23e49f47bc770e7461308672";
};
propagatedBuildInputs = [
asn1crypto
asysocks
oscrypto
];
# 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 ];
};
}