package a mobile-friendly fork of sublime-music (untested)

This commit is contained in:
colin 2022-12-01 22:03:13 +00:00
parent 533b0a91bd
commit d7ad414a9c
3 changed files with 28 additions and 1 deletions

View File

@ -127,7 +127,8 @@ let
# it doesn't obey a conventional ~/Music/{Artist}/{Album}/{Track} notation, so no symlinking
# config (e.g. server connection details) is persisted in ~/.config/sublime-music/config.json
# possible to pass config as a CLI arg (sublime-music -c config.json)
{ pkg = sublime-music; dir = ".local/share/sublime-music"; }
# { pkg = sublime-music; dir = ".local/share/sublime-music"; }
{ pkg = sublime-music-mobile; dir = ".local/share/sublime-music"; }
tdesktop # broken on phosh
{ pkg = tokodon; dir = ".cache/KDE/tokodon"; }

View File

@ -20,6 +20,8 @@
];
};
sublime-music-mobile = prev.callPackage ./sublime-music-mobile { };
#### customized packages
fluffychat-moby = prev.callPackage ./fluffychat-moby { pkgs = prev; };
gpodder-configured = prev.callPackage ./gpodder-configured { pkgs = prev; };

View File

@ -0,0 +1,24 @@
{ pkgs
, lib
, libhandy
, ... }:
(pkgs.sublime-music.overrideAttrs (upstream: {
src = pkgs.fetchFromGitLab {
owner = "BenjaminSchaaf";
repo = "sublime-music";
rev = "4ce2f222f13020574d54110d90839f48d8689b9d";
sha256 = "sha256-V6YyBbPKAfZb5FVOesNcC6TfJbO73WZ4DvlOSWSSZzU=";
};
buildInputs = upstream.buildInputs ++ [
# TODO: need to patch handy to include the pulltab thing
libhandy
];
# i think Benjamin didn't update the tests?
doCheck = false;
doInstallCheck = false;
meta.description = "A mobile-friendly sublime music fork";
}))