Files
nixpkgs/pkgs/development/python-modules/textparser/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
675 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools-scm,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "textparser";
version = "0.24.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-VvcI51qp0AKtt22CO6bvFm1+zsHj5MpMHKED+BdWgzU=";
};
nativeBuildInputs = [ setuptools-scm ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "textparser" ];
meta = with lib; {
homepage = "https://github.com/eerimoq/textparser";
description = "Text parser";
license = licenses.mit;
maintainers = with maintainers; [ gray-heron ];
};
}