Unverified Commit 2ed8bc2a authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #151479 from vbrandl/psst-package

parents f262cec4 8547a003
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -14038,6 +14038,12 @@
    github = "jpagex";
    githubId = 635768;
  };
  vbrandl = {
    name = "Valentin Brandl";
    email = "mail+nixpkgs@vbrandl.net";
    github = "vbrandl";
    githubId = 20639051;
  };
  portothree = {
    name = "Gustavo Porto";
    email = "gustavoporto@ya.ru";
+39 −0
Original line number Diff line number Diff line
{ lib, fetchFromGitHub, rustPlatform, alsa-lib, atk, cairo, dbus, gdk-pixbuf, glib, gtk3, pango, pkg-config }:

rustPlatform.buildRustPackage rec {
  pname = "psst";
  version = "unstable-2022-01-25";

  src = fetchFromGitHub {
    owner = "jpochyla";
    repo = pname;
    rev = "1627cd4a301dd51e9ee3034294cd7b0d94d02ddc";
    sha256 = "sha256-kepvYhmieXx6Hj79aqaA7tYUnueaBsNx0U4lV7K6LuU=";
  };

  cargoSha256 = "sha256-DcdlQudGyWUUAacV7pAOLDvhd1fgAkEesdxDkHSYm4M=";
  # specify the subdirectory of the binary crate to build from the workspace
  buildAndTestSubdir = "psst-gui";

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    alsa-lib
    atk
    cairo
    dbus
    gdk-pixbuf
    glib
    gtk3
    pango
  ];

  meta = with lib; {
    description = "Fast and multi-platform Spotify client with native GUI";
    homepage = "https://github.com/jpochyla/psst";
    license = licenses.mit;
    maintainers = [ maintainers.vbrandl ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -29033,6 +29033,8 @@ with pkgs;
  spotifywm = callPackage ../applications/audio/spotifywm { };
  psst = callPackage ../applications/audio/psst { };
  squeezelite = callPackage ../applications/audio/squeezelite { };
  ltunify = callPackage ../tools/misc/ltunify { };