567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
30 lines
571 B
Nix
30 lines
571 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
libkrb5,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "kerberos";
|
|
version = "1.3.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "cdd046142a4e0060f96a00eb13d82a5d9ebc0f2d7934393ed559bac773460a2c";
|
|
};
|
|
|
|
nativeBuildInputs = [ libkrb5 ];
|
|
|
|
# No tests in archive
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Kerberos high-level interface";
|
|
homepage = "https://pypi.org/project/kerberos/";
|
|
license = lib.licenses.asl20;
|
|
knownVulnerabilities = [ "CVE-2015-3206" ];
|
|
};
|
|
}
|