mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-19 22:30:23 +00:00
python3Packages.pykerberos: migrate to pyproject (#551642)
This commit is contained in:
@@ -3,18 +3,21 @@
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
krb5-c, # C krb5 library, not PyPI krb5
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pykerberos";
|
||||
version = "1.2.4";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-nXAevY/FlsmdMVXVukWBO9WQjSbvg7oK3SUO22IqvtQ=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeBuildInputs = [ krb5-c ]; # for krb5-config
|
||||
|
||||
buildInputs = [ krb5-c ];
|
||||
@@ -26,6 +29,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "High-level interface to Kerberos";
|
||||
homepage = "https://github.com/02strich/pykerberos";
|
||||
license = lib.licenses.asl20;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user