diff options
author | Jonas Heinrich <onny@project-insanity.org> | 2024-06-15 16:53:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-15 16:53:51 +0200 |
commit | f15be30a76601a59ff9d97287d8554c34fc04c66 (patch) | |
tree | 10a8a2d838eadd834c6f02f6c606d1f7f21dc3e1 /pkgs | |
parent | 3da97e2163d090fbf03929971357a6757dc44037 (diff) | |
parent | 78c3078a6d512b4283c402832c64a87bcaffc42f (diff) |
Merge pull request #319297 from onny/sublime-music2
sublime-music: 0.12.0 -> 0.12.0-unstable-2024-01-06
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/by-name/su/sublime-music/package.nix (renamed from pkgs/applications/audio/sublime-music/default.nix) | 20 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 13 insertions, 9 deletions
diff --git a/pkgs/applications/audio/sublime-music/default.nix b/pkgs/by-name/su/sublime-music/package.nix index a1c74abeca1c8..e2a7874a0eb05 100644 --- a/pkgs/applications/audio/sublime-music/default.nix +++ b/pkgs/by-name/su/sublime-music/package.nix @@ -12,26 +12,32 @@ , libnotify , networkSupport ? true , networkmanager +, fetchpatch }: python3.pkgs.buildPythonApplication rec { pname = "sublime-music"; - version = "0.12.0"; + version = "0.12.0-unstable-2024-01-06"; pyproject = true; src = fetchFromGitHub { owner = "sublime-music"; repo = "sublime-music"; - rev = "refs/tags/v${version}"; - hash = "sha256-FPzeFqDOcaiariz7qJwz6P3Wd+ZDxNP57uj+ptMtEyM="; + rev = "0b4ba69a7ff7ad2dfcb0a264587921f323030766"; + hash = "sha256-NoJ50n/AjM738ebQ/Wccwp2l0sC3VBvKovJvDhDa5SU="; }; + patches = [ + # Fix loadfile command https://github.com/sublime-music/sublime-music/pull/461 + (fetchpatch { + url = "https://github.com/sublime-music/sublime-music/commit/1d107fec2ac7f83e0c49bab663273b31c9072411.patch"; + hash = "sha256-fUss4kqlFiXRr37AIaeWEv/4Bpzx5xkW28OEnsjQqzY="; + }) + ]; + postPatch = '' sed -i "/--cov/d" setup.cfg sed -i "/--no-cov-on-fail/d" setup.cfg - - # https://github.com/sublime-music/sublime-music/commit/f477659d24e372ed6654501deebad91ae4b0b51c - sed -i "s/python-mpv/mpv/g" pyproject.toml ''; build-system = with python3.pkgs; [ @@ -94,7 +100,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "GTK3 Subsonic/Airsonic client"; - homepage = "https://sublimemusic.app/"; + homepage = "https://sublimemusic.app"; changelog = "https://github.com/sublime-music/sublime-music/blob/v${version}/CHANGELOG.rst"; license = licenses.gpl3Plus; maintainers = with maintainers; [ albakham sumnerevans ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 036ca0e13c8d0..c6ab1688d388e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -34499,8 +34499,6 @@ with pkgs; pythonBindings = true; }; - sublime-music = callPackage ../applications/audio/sublime-music { }; - subtitlr = callPackage ../applications/audio/subtitlr { }; subunit = callPackage ../development/libraries/subunit { }; |