10 pname = "spicetify-cli";
13 src = fetchFromGitHub {
17 hash = "sha256-la0zNYWzsU49Z6OKTefocN3xzoyNceaPAzG+CAFKMPc=";
20 vendorHash = "sha256-BT/zmeNKr2pNBSCaRtT/Dxm3uCshd1j4IW0xU7b9Yz4=";
24 "-X 'main.version=${version}'"
27 # used at runtime, but not installed by default
29 mv $out/bin/cli $out/bin/spicetify
30 ln -s $out/bin/spicetify $out/bin/spicetify-cli
31 cp -r ${src}/jsHelper $out/bin/jsHelper
32 cp -r ${src}/CustomApps $out/bin/CustomApps
33 cp -r ${src}/Extensions $out/bin/Extensions
34 cp -r ${src}/Themes $out/bin/Themes
37 doInstallCheck = true;
38 installCheckPhase = ''
39 $out/bin/spicetify --help > /dev/null
42 passthru.tests.version = testers.testVersion { package = spicetify-cli; };
45 description = "Command-line tool to customize Spotify client";
46 homepage = "https://github.com/spicetify/cli";
47 license = licenses.gpl3Plus;
48 maintainers = [ maintainers.mdarocha ];
49 mainProgram = "spicetify";