1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 lib,
5 hatchling,
6 lxml,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "python-ly";
12 version = "0.9.9";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "frescobaldi";
17 repo = "python-ly";
18 tag = "v${version}";
19 hash = "sha256-CMMssU+qoHbhdny0sgpoYQas4ySPVHnu7GPnSthuMuE=";
20 };
21
22 build-system = [ hatchling ];
23
24 # Tests seem to be broken ATM: https://github.com/wbsoft/python-ly/issues/70
25 doCheck = false;
26
27 nativeCheckInputs = [
28 lxml
29 pytestCheckHook
30 ];
31
32 meta = with lib; {
33 changelog = "https://github.com/frescobaldi/python-ly/releases/tag/${src.tag}";
34 description = "Tool and library for manipulating LilyPond files";
35 homepage = "https://github.com/frescobaldi/python-ly";
36 license = licenses.gpl2;
37 maintainers = [ ];
38 };
39}