at 23.11-beta 930 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, setuptools 5, lxml 6, numpy 7, pytestCheckHook 8, scikit-image 9}: 10let 11 version = "1.2"; 12in 13buildPythonPackage { 14 pname = "mung"; 15 inherit version; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "OMR-Research"; 20 repo = "mung"; 21 rev = "refs/tags/${version}"; 22 hash = "sha256-NSKaJkJRevTy5gh6/ik8Qe46bOPdznsmXPgh7Xz7vXQ="; 23 }; 24 25 nativeBuildInputs = [ 26 setuptools 27 ]; 28 29 propagatedBuildInputs = [ 30 lxml 31 numpy 32 scikit-image 33 ]; 34 35 nativeCheckInputs = [ 36 pytestCheckHook 37 ]; 38 39 pythonImportsCheck = [ 40 "mung" 41 ]; 42 43 meta = with lib; { 44 description = "Music Notation Graph: a data model for optical music recognition"; 45 homepage = "https://github.com/OMR-Research/mung"; 46 changelog = "https://github.com/OMR-Research/mung/blob/${version}/CHANGES.md"; 47 license = licenses.mit; 48 maintainers = with maintainers; [ piegames ]; 49 }; 50}