Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d2000fb76131
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b2e857a5fe70
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Nov 10, 2020

  1. spicetify-cli: init at 1.1.0

    Jonathan Ringer committed Nov 10, 2020
    Copy the full SHA
    b2e857a View commit details
Showing with 34 additions and 0 deletions.
  1. +32 −0 pkgs/applications/misc/spicetify-cli/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
32 changes: 32 additions & 0 deletions pkgs/applications/misc/spicetify-cli/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -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 { };