mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
0215034f25
when they already rely on SRI hashes.
26 lines
561 B
Nix
26 lines
561 B
Nix
{ lib, fetchPypi, buildPythonPackage, krb5 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pykerberos";
|
|
version = "1.2.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-nXAevY/FlsmdMVXVukWBO9WQjSbvg7oK3SUO22IqvtQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ krb5 ]; # for krb5-config
|
|
|
|
buildInputs = [ krb5 ];
|
|
|
|
# there are no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "kerberos" ];
|
|
|
|
meta = with lib; {
|
|
description = "High-level interface to Kerberos";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ catern ];
|
|
};
|
|
}
|