1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, lxml
5, matplotlib
6, midiutil
7, numpy
8, pytestCheckHook
9, scikit-image
10, scikit-learn
11}:
12let
13 rev = "8d0ce91d831b0592c111ddb38fc9aa8eba130ed2";
14in
15buildPythonPackage {
16 pname = "mung";
17 version = "unstable-2022-07-10";
18
19 src = fetchFromGitHub {
20 owner = "OMR-Research";
21 repo = "mung";
22 inherit rev;
23 hash = "sha256-QzCkB9Wj4dTPuMCMweFw6IsSwBBzV0Nfx7+VX7Plnio=";
24 };
25
26 format = "setuptools";
27
28 propagatedBuildInputs = [
29 lxml
30 numpy
31 scikit-image
32 scikit-learn
33 matplotlib
34 midiutil
35 ];
36
37 nativeCheckInputs = [
38 pytestCheckHook
39 ];
40
41 meta = with lib; {
42 description = "Music Notation Graph: a data model for optical music recognition";
43 homepage = "https://github.com/OMR-Research/mung";
44 changelog = "https://github.com/OMR-Research/mung/blob/${rev}/CHANGES.md";
45 license = licenses.mit;
46 maintainers = with maintainers; [ piegames ];
47 };
48}