spicetify-cli: init at 1.1.0
This commit is contained in:
parent
d2000fb761
commit
b2e857a5fe
32
pkgs/applications/misc/spicetify-cli/default.nix
Normal file
32
pkgs/applications/misc/spicetify-cli/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "spicetify-cli";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "khanhas";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "08rnwj7ggh114n3mhhm8hb8fm1njgb4j6vba3hynp8x1c2ngidff";
|
||||
};
|
||||
|
||||
vendorSha256 = "0k06c3jw5z8rw8nk4qf794kyfipylmz6x6l126a2snvwi0lmc601";
|
||||
|
||||
# used at runtime, but not installed by default
|
||||
postInstall = ''
|
||||
cp -r ${src}/jsHelper $out/bin/jsHelper
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
$out/bin/spicetify-cli --help > /dev/null
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line tool to customize Spotify client";
|
||||
homepage = "https://github.com/khanhas/spicetify-cli/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
@ -15796,6 +15796,8 @@ in
|
||||
|
||||
spice-up = callPackage ../applications/office/spice-up { };
|
||||
|
||||
spicetify-cli = callPackage ../applications/misc/spicetify-cli { };
|
||||
|
||||
spirv-cross = callPackage ../tools/graphics/spirv-cross { };
|
||||
|
||||
sratom = callPackage ../development/libraries/audio/sratom { };
|
||||
|
Loading…
Reference in New Issue
Block a user