python3Packages.omrdatasettools: init at 1.3.1

This commit is contained in:
piegames
2023-05-14 20:54:57 +02:00
parent ed68fa60fb
commit bc87805d55
2 changed files with 76 additions and 0 deletions
@@ -0,0 +1,74 @@
{ lib
, buildPythonPackage
, fetchPypi
, h5py
, ipython
, lxml
, mung
, muscima
, numpy
, pillow
, pytestCheckHook
, scikitimage
, sphinx-rtd-theme
, sympy
, pandas
, pyhamcrest
, tqdm
, twine
}:
buildPythonPackage rec {
pname = "omrdatasettools";
version = "1.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "0cdq02jp8vh78yjq9bncjjl0pb554idrcxkd62rzwk4l6ss2fkw5";
};
propagatedBuildInputs = [
pillow
scikitimage
h5py
pyhamcrest
muscima
mung
numpy
lxml
tqdm
twine
sympy
sphinx-rtd-theme
pandas
ipython
];
nativeCheckInputs = [
pytestCheckHook
];
disabledTestPaths = [
# The download tests require internet access
"omrdatasettools/tests/test_downloader.py"
];
disabledTests = [
# The download tests require internet access
"test_download_extract_and_crop_bitmaps"
"test_download_extract_and_render_all_symbols"
"test_download_extract_and_draw_bitmaps"
# Other failures
"test_render_node_masks_instance_segmentation_of_staff_blobs"
"test_render_node_masks_instance_segmentation_of_staff_lines"
"test_render_node_masks_semantic_segmentation_of_nodes"
];
meta = with lib; {
description = "Collection of datasets used for Optical Music Recognition";
homepage = "https://github.com/apacha/OMR-Datasets";
changelog = "https://github.com/apacha/OMR-Datasets/blob/${version}/CHANGES.md";
license = licenses.mit;
maintainers = with maintainers; [ piegames ];
};
}
+2
View File
@@ -6931,6 +6931,8 @@ self: super: with self; {
omnilogic = callPackage ../development/python-modules/omnilogic { };
omrdatasettools = callPackage ../development/python-modules/omrdatasettools { };
ondilo = callPackage ../development/python-modules/ondilo { };
onetimepass = callPackage ../development/python-modules/onetimepass { };