Unverified Commit 8d30dda9 authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

Merge pull request #325421 from 71zenith/master

spotify-player: 0.18.2 -> 0.19.1
parents 9eb6c805 80d2678e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -227,6 +227,12 @@
    githubId = 12578560;
    name = "Quinn Bohner";
  };
  _71zenith = {
    email = "71zenith@proton.me";
    github = "71zenith";
    githubId = 92977828;
    name = "Mori Zen";
  };
  _8aed = {
    email = "8aed@riseup.net";
    github = "8aed";
+7 −5
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
, withImage ? true
, withNotify ? true
, withSixel ? true
, withFuzzy ? true
, stdenv
, darwin
, makeBinaryWrapper
@@ -33,16 +34,16 @@ assert lib.assertOneOf "withAudioBackend" withAudioBackend [ "" "alsa" "pulseaud

rustPlatform.buildRustPackage rec {
  pname = "spotify-player";
  version = "0.18.2";
  version = "0.19.1";

  src = fetchFromGitHub {
    owner = "aome510";
    repo = pname;
    rev = "refs/tags/v${version}";
    hash = "sha256-bLUPQgqSsE9tF5YiFj5B+Ylyy96DhWFNjwqXbQ9H8uc=";
    hash = "sha256-R8F7s8FPnCe+shNUN/u0qcxFy3IbyfVo2xZ5/E/qwaw=";
  };

  cargoHash = "sha256-rptGA7J63rHdmxuPIguhZYYs8tZbpidJ0fXroBBoEIM=";
  cargoHash = "sha256-7vximGisIIXBrwHXSWQjO08OraaweG7ZT6v+gVdYGVc=";

  nativeBuildInputs = [
    pkg-config
@@ -83,7 +84,8 @@ rustPlatform.buildRustPackage rec {
    ++ lib.optionals withDaemon [ "daemon" ]
    ++ lib.optionals withNotify [ "notify" ]
    ++ lib.optionals withStreaming [ "streaming" ]
    ++ lib.optionals withSixel [ "sixel" ];
    ++ lib.optionals withSixel [ "sixel" ]
    ++ lib.optionals withFuzzy [ "fzf" ];

  # sixel-sys is dynamically linked to libsixel
  postInstall = lib.optionals (stdenv.isDarwin && withSixel) ''
@@ -97,6 +99,6 @@ rustPlatform.buildRustPackage rec {
    changelog = "https://github.com/aome510/spotify-player/releases/tag/v${version}";
    mainProgram = "spotify_player";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ dit7ya xyven1 ];
    maintainers = with lib.maintainers; [ dit7ya xyven1 _71zenith ];
  };
}