nixpkgs/pkgs/development/python-modules/aadict/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

35 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 ];
};
}