Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

40 lines
836 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
lib,
hatchling,
lxml,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "python-ly";
version = "0.9.9";
pyproject = true;
src = fetchFromGitHub {
owner = "frescobaldi";
repo = "python-ly";
tag = "v${version}";
hash = "sha256-CMMssU+qoHbhdny0sgpoYQas4ySPVHnu7GPnSthuMuE=";
};
build-system = [ hatchling ];
# Tests seem to be broken ATM: https://github.com/wbsoft/python-ly/issues/70
doCheck = false;
nativeCheckInputs = [
lxml
pytestCheckHook
];
meta = {
changelog = "https://github.com/frescobaldi/python-ly/releases/tag/${src.tag}";
description = "Tool and library for manipulating LilyPond files";
homepage = "https://github.com/frescobaldi/python-ly";
license = lib.licenses.gpl2;
maintainers = [ ];
};
}