depot/third_party/nixpkgs/pkgs/development/python-modules/aadict/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

34 lines
677 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 = "Auto-attribute dict (and a couple of other useful dict functions)";
homepage = "https://github.com/metagriffin/aadict";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ glittershark ];
};
}