depot/third_party/nixpkgs/pkgs/development/python-modules/minikerberos/default.nix
Default email 7d542a9f98 Project import generated by Copybara.
GitOrigin-RevId: b72b8b94cf0c012b0252a9100a636cad69696666
2022-12-02 08:20:57 +00:00

46 lines
917 B
Nix

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