2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-07-18 16:06:22 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
2024-04-21 15:54:59 +00:00
|
|
|
, pynose
|
|
|
|
, setuptools
|
2020-07-18 16:06:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aadict";
|
|
|
|
version = "0.2.3";
|
2024-04-21 15:54:59 +00:00
|
|
|
pyproject = true;
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-p3MorFXbtXNdqZRBhwJRvv4TX2h6twenoXhWE2OydwQ=";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
pynose
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"aadict"
|
|
|
|
];
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-04-21 15:54:59 +00:00
|
|
|
description = "An auto-attribute dict (and a couple of other useful dict functions)";
|
2020-07-18 16:06:22 +00:00
|
|
|
homepage = "https://github.com/metagriffin/aadict";
|
2024-04-21 15:54:59 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-07-18 16:06:22 +00:00
|
|
|
maintainers = with maintainers; [ glittershark ];
|
|
|
|
};
|
|
|
|
}
|