forked from mirrors/nixpkgs
82b38923c2
For the relevant discussion see https://github.com/NixOS/nixpkgs/pull/55757#issuecomment-469397261
25 lines
535 B
Nix
25 lines
535 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, krb5 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pykerberos";
|
|
version = "1.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0v47p840myqgc7hr4lir72xshcfpa0w8j9n077h3njpqyn6wlbag";
|
|
};
|
|
|
|
nativeBuildInputs = [ krb5 ]; # for krb5-config
|
|
|
|
buildInputs = [ krb5 ];
|
|
|
|
# there are no tests
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "High-level interface to Kerberos";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ catern ];
|
|
};
|
|
}
|