blob: 747eac85060b3ac9b4f9b06cf471ad6bfd946f8e (
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
40
41
42
43
44
45
46
47
48
49
50
51
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
lxml,
matplotlib,
numpy,
pytestCheckHook,
scikit-image,
scikit-learn,
}:
let
rev = "9a016380625927f385e699664026c90356557850";
in
buildPythonPackage {
pname = "muscima";
version = "unstable-2023-04-26";
src = fetchFromGitHub {
owner = "hajicj";
repo = "muscima";
inherit rev;
hash = "sha256-0mRLJATn+6dYswgDg2zs7RHKSvY4+gNt4SBHeF0G3Xg=";
};
format = "setuptools";
propagatedBuildInputs = [
lxml
numpy
scikit-image
scikit-learn
matplotlib
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [
# They hard-code the path to the dataset and expect you to edit the test to update it to your value
"test/test_dataset.py"
];
meta = {
description = "Tools for working with the MUSCIMA++ dataset of handwritten music notation";
homepage = "https://github.com/hajicj/muscima";
changelog = "https://github.com/hajicj/muscima/blob/${rev}/CHANGES.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ piegames ];
};
}
|