Merge pull request #299952 from fabaff/aadict-refactor

python312Packages.aadict: refactor
This commit is contained in:
Fabian Affolter 2024-03-29 18:16:59 +01:00 committed by GitHub
commit 2830aef480
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 8 deletions

View File

@ -2,27 +2,40 @@
, buildPythonPackage
, fetchPypi
, six
, nose
, coverage
, pynose
, setuptools
}:
buildPythonPackage rec {
pname = "aadict";
version = "0.2.3";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "013pn9ii6mkql6khgdvsd1gi7zmya418fhclm5fp7dfvann2hwx7";
hash = "sha256-p3MorFXbtXNdqZRBhwJRvv4TX2h6twenoXhWE2OydwQ=";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [ nose coverage ];
build-system = [
setuptools
];
dependencies = [
six
];
nativeCheckInputs = [
pynose
];
pythonImportsCheck = [
"aadict"
];
meta = with lib; {
description = "An auto-attribute dict (and a couple of other useful dict functions)";
homepage = "https://github.com/metagriffin/aadict";
description = "An auto-attribute dict (and a couple of other useful dict functions).";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ glittershark ];
license = licenses.gpl3;
};
}