python3Packages.cccolutils: migrate to pyproject (#529001)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
git,
|
||||
gitpython,
|
||||
krb5-c, # C krb5 library, not PyPI krb5
|
||||
@@ -9,20 +10,24 @@
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "cccolutils";
|
||||
version = "1.5";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "CCColUtils";
|
||||
inherit version;
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-YzKjG43biRbTZKtzSUHHhtzOfcZfzISHDFolqzrBjL8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
buildInputs = [ krb5-c ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
git
|
||||
gitpython
|
||||
mock
|
||||
@@ -37,4 +42,4 @@ buildPythonPackage rec {
|
||||
homepage = "https://pagure.io/cccolutils";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user