mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
755b915a15
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/'
35 lines
677 B
Nix
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 ];
|
|
};
|
|
}
|