diff options
author | Peter Hoeg <peter@hoeg.com> | 2022-06-04 11:14:33 +0200 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2022-06-05 17:34:04 +0200 |
commit | 1acba8b3e5d35eb971519785e9dce857b95cbdbc (patch) | |
tree | 9b9211a5b0e27039ac94710a84476f0c9517e575 /pkgs/applications/audio | |
parent | 8252bbef8661c4e2b37a491e75143f6f1e833cbd (diff) |
psst: 2022-01-25 -> 2022-05-19 and fix build
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/psst/default.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/applications/audio/psst/default.nix b/pkgs/applications/audio/psst/default.nix index d2d4927c1135b..5d41661b6d538 100644 --- a/pkgs/applications/audio/psst/default.nix +++ b/pkgs/applications/audio/psst/default.nix @@ -2,22 +2,20 @@ rustPlatform.buildRustPackage rec { pname = "psst"; - version = "unstable-2022-01-25"; + version = "unstable-2022-05-19"; src = fetchFromGitHub { owner = "jpochyla"; repo = pname; - rev = "1627cd4a301dd51e9ee3034294cd7b0d94d02ddc"; - sha256 = "sha256-kepvYhmieXx6Hj79aqaA7tYUnueaBsNx0U4lV7K6LuU="; + rev = "e403609e0916fe664fb1f28c7a259d01fa69b0e9"; + sha256 = "sha256-hpAP/m9aJsfh9FtwLqaKFZllnCQn9OSYLWuNZakZJnk="; }; - cargoSha256 = "sha256-DcdlQudGyWUUAacV7pAOLDvhd1fgAkEesdxDkHSYm4M="; + cargoSha256 = "sha256-gQ0iI2wTS5n5pItmQCmFXDs5L8nA2w5ZrZyZtpMlUro="; # specify the subdirectory of the binary crate to build from the workspace buildAndTestSubdir = "psst-gui"; - nativeBuildInputs = [ - pkg-config - ]; + nativeBuildInputs = [ pkg-config ]; buildInputs = [ alsa-lib @@ -30,10 +28,14 @@ rustPlatform.buildRustPackage rec { pango ]; + postInstall = '' + install -Dm444 psst-gui/assets/logo_512.png $out/share/icons/${pname}.png + ''; + 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 ]; + maintainers = with maintainers; [ vbrandl peterhoeg ]; }; } |