depot/third_party/nixpkgs/pkgs/development/python-modules/minikerberos/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

32 lines
692 B
Nix

{ lib
, asn1crypto
, asysocks
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "minikerberos";
version = "0.2.8";
src = fetchPypi {
inherit pname version;
sha256 = "16bbyihap2ygsi7xg58rwdn14ms1j0jy2kxbdljpg39s9q1rz6ps";
};
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 ];
};
}