mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-18 05:39:58 +00:00
python3Packages.configclass: migrate to pyproject (#561580)
This commit is contained in:
@@ -2,21 +2,26 @@
|
||||
lib,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
mergedict,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "configclass";
|
||||
version = "0.2.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-aoDKBuDxJCeXbVwCXhse6FCbDDM30/Xa8p9qRvDkWBk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mergedict ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ mergedict ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
@@ -25,7 +30,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python to class to hold configuration values";
|
||||
homepage = "https://github.com/schettino72/configclass/";
|
||||
changelog = "https://github.com/schettino72/configclass/blob/${finalAttrs.version}/CHANGES";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ onny ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user