summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-ly/default.nix
blob: 1ab14db3f3dc3eb31aa2f2763f839d8e48bd1dc1 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  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 = with lib; {
    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 = licenses.gpl2;
    maintainers = [ ];
  };
}