Files
nixpkgs/pkgs/development/python-modules/manifestoo/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

48 lines
963 B
Nix

{
buildPythonPackage,
fetchPypi,
hatch-vcs,
importlib-metadata,
lib,
manifestoo-core,
nix-update-script,
pytestCheckHook,
pythonOlder,
textual,
typer,
typing-extensions,
}:
buildPythonPackage rec {
pname = "manifestoo";
version = "0.7";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-gCGchc+fShBgt6fVJAx80+QnH+vxWo3jsIyePkFwhYE=";
};
nativeBuildInputs = [ hatch-vcs ];
nativeCheckInputs = [ pytestCheckHook ];
propagatedBuildInputs =
[
manifestoo-core
textual
typer
]
++ typer.passthru.optional-dependencies.all
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Tool to reason about Odoo addons manifests";
homepage = "https://github.com/acsone/manifestoo";
license = licenses.mit;
maintainers = with maintainers; [ yajo ];
};
}