Files
nixpkgs/pkgs/development/python-modules/argh/default.nix
T
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

39 lines
769 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
flit-core,
iocapture,
mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "argh";
version = "0.31.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-2xw0iFgE99RkbDhdwvsZtFKYVhMi9MFerhsTOZP54yM=";
};
nativeBuildInputs = [ flit-core ];
nativeCheckInputs = [
iocapture
mock
pytestCheckHook
];
pythonImportsCheck = [ "argh" ];
meta = with lib; {
changelog = "https://github.com/neithere/argh/blob/v${version}/CHANGES";
homepage = "https://github.com/neithere/argh";
description = "Unobtrusive argparse wrapper with natural syntax";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ domenkozar ];
};
}