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

38 lines
859 B
Nix

{
buildPythonPackage,
typing-extensions,
fetchPypi,
lib,
nix-update-script,
hatch-vcs,
pythonOlder,
importlib-resources,
}:
buildPythonPackage rec {
pname = "manifestoo-core";
version = "1.6";
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "manifestoo_core";
hash = "sha256-gOWu01Z1lxhMJELyxvU5A5AskVEqCoLV/auydM5/QCE=";
};
nativeBuildInputs = [ hatch-vcs ];
propagatedBuildInputs =
lib.optionals (pythonOlder "3.7") [ importlib-resources ]
++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Library to reason about Odoo addons manifests";
homepage = "https://github.com/acsone/manifestoo-core";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ yajo ];
};
}