depot/third_party/nixpkgs/pkgs/development/python-modules/aadict/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

34 lines
680 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
six,
pynose,
setuptools,
}:
buildPythonPackage rec {
pname = "aadict";
version = "0.2.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-p3MorFXbtXNdqZRBhwJRvv4TX2h6twenoXhWE2OydwQ=";
};
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";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ glittershark ];
};
}