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: 3221b5f07c40
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a56def8f8d02
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Oct 30, 2019

  1. spotify-tui: 0.6.2 -> 0.8.0

    marsam authored and Jon committed Oct 30, 2019
    Copy the full SHA
    a56def8 View commit details
Showing with 18 additions and 3 deletions.
  1. +5 −3 pkgs/applications/audio/spotify-tui/default.nix
  2. +13 −0 pkgs/applications/audio/spotify-tui/fix-cargo-lock-version.patch
8 changes: 5 additions & 3 deletions pkgs/applications/audio/spotify-tui/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,18 @@

rustPlatform.buildRustPackage rec {
pname = "spotify-tui";
version = "0.6.2";
version = "0.8.0";

src = fetchFromGitHub {
owner = "Rigellute";
repo = "spotify-tui";
rev = "v${version}";
sha256 = "0ksrdavnvjpph7h0lcc2hvxhygfbn0dmsabq2ilslvpa80ph2c53";
sha256 = "0pgmcld48sd34jpsc4lr8dbqs8iwk0xp9aa3b15m61mv3lf04qc6";
};

cargoSha256 = "029g80mcqvmckszpbzm4hxs5w63n41ah4rc1b93i9c1nzvncd811";
cargoSha256 = "1rb4dl9zn3xx2yrapx5cfsli93ggmdq8w9fqi8cy8giyja1mnqfl";

cargoPatches = [ ./fix-cargo-lock-version.patch ];

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ]
13 changes: 13 additions & 0 deletions pkgs/applications/audio/spotify-tui/fix-cargo-lock-version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git i/Cargo.lock w/Cargo.lock
index e1eae72..e004898 100644
--- i/Cargo.lock
+++ w/Cargo.lock
@@ -1310,7 +1310,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"

[[package]]
name = "spotify-tui"
-version = "0.7.5"
+version = "0.8.0"
dependencies = [
"backtrace 0.3.40 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",