10 pname = "spicetify-cli";
13 src = fetchFromGitHub {
17 hash = "sha256-K3lhPeW6L9N9OljNn8e6iQqx4k4HX5A9mX7SUlv2IRw=";
20 vendorHash = "sha256-i3xnf440lslzeDJ4pLLONqw8ACbdkKgPIhlPSuC1Vng=";
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";