From 1d304ee8ec3b6220ea2aa44776dfaf3be3eb7b61 Mon Sep 17 00:00:00 2001 From: natsukium Date: Mon, 16 Oct 2023 18:06:44 +0900 Subject: [PATCH] python311Packages.mung: unstable-2022-07-10 -> 1.2 Diff: https://github.com/OMR-Research/mung/compare/8d0ce91d831b0592c111ddb38fc9aa8eba130ed2...1.2 Changelog: https://github.com/OMR-Research/mung/blob/1.2/CHANGES.md --- pkgs/development/python-modules/mung/default.nix | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/mung/default.nix b/pkgs/development/python-modules/mung/default.nix index 0e5528c112df..5001a59e60d2 100644 --- a/pkgs/development/python-modules/mung/default.nix +++ b/pkgs/development/python-modules/mung/default.nix @@ -2,25 +2,22 @@ , buildPythonPackage , fetchFromGitHub , lxml -, matplotlib -, midiutil , numpy , pytestCheckHook , scikit-image -, scikit-learn }: let - rev = "8d0ce91d831b0592c111ddb38fc9aa8eba130ed2"; + version = "1.2"; in buildPythonPackage { pname = "mung"; - version = "unstable-2022-07-10"; + inherit version; src = fetchFromGitHub { owner = "OMR-Research"; repo = "mung"; - inherit rev; - hash = "sha256-QzCkB9Wj4dTPuMCMweFw6IsSwBBzV0Nfx7+VX7Plnio="; + rev = "refs/tags/${version}"; + hash = "sha256-NSKaJkJRevTy5gh6/ik8Qe46bOPdznsmXPgh7Xz7vXQ="; }; format = "setuptools"; @@ -29,9 +26,6 @@ buildPythonPackage { lxml numpy scikit-image - scikit-learn - matplotlib - midiutil ]; nativeCheckInputs = [ @@ -41,7 +35,7 @@ buildPythonPackage { meta = with lib; { description = "Music Notation Graph: a data model for optical music recognition"; homepage = "https://github.com/OMR-Research/mung"; - changelog = "https://github.com/OMR-Research/mung/blob/${rev}/CHANGES.md"; + changelog = "https://github.com/OMR-Research/mung/blob/${version}/CHANGES.md"; license = licenses.mit; maintainers = with maintainers; [ piegames ]; };