3
0
Fork 0
forked from mirrors/nixpkgs

spot: 0.1.14 -> 0.2.0 (#137435)

This commit is contained in:
Tom 2021-09-28 12:17:04 +00:00 committed by GitHub
parent d72430fc65
commit b1adc89386
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,8 +10,9 @@
, rustPlatform , rustPlatform
, pkg-config , pkg-config
, glib , glib
, libadwaita
, libhandy , libhandy
, gtk3 , gtk4
, openssl , openssl
, alsa-lib , alsa-lib
, libpulseaudio , libpulseaudio
@ -20,19 +21,19 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "spot"; pname = "spot";
version = "0.1.14"; version = "0.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "xou816"; owner = "xou816";
repo = "spot"; repo = "spot";
rev = version; rev = version;
sha256 = "eHhbm1amTx3ngqsP32uDEdrhrBeurMftg5SToTQGX9o="; sha256 = "16pri0in514xzy21bsijyvyyjwa0f6lg4zyizmdcmcdw4glrs11m";
}; };
cargoDeps = rustPlatform.fetchCargoTarball { cargoDeps = rustPlatform.fetchCargoTarball {
inherit src; inherit src;
name = "${pname}-${version}"; name = "${pname}-${version}";
hash = "sha256-jY7pWoY9IJi5hHVRS1gQKb+Vmfc+wxHvoAwupOtXXQs="; sha256 = "1fvnidxh4rnkzqg3qjk3zlkp2d41qdamm0bfavk8jrazw8sgih84";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -41,7 +42,7 @@ stdenv.mkDerivation rec {
ninja ninja
pkg-config pkg-config
python3 # for meson postinstall script python3 # for meson postinstall script
gtk3 # for gtk-update-icon-cache gtk4 # for gtk-update-icon-cache
glib # for glib-compile-schemas glib # for glib-compile-schemas
desktop-file-utils desktop-file-utils
rustPlatform.rust.cargo rustPlatform.rust.cargo
@ -52,7 +53,8 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
glib glib
gtk3 gtk4
libadwaita
libhandy libhandy
openssl openssl
alsa-lib alsa-lib
@ -77,6 +79,6 @@ stdenv.mkDerivation rec {
description = "Native Spotify client for the GNOME desktop"; description = "Native Spotify client for the GNOME desktop";
homepage = "https://github.com/xou816/spot"; homepage = "https://github.com/xou816/spot";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ jtojnar ]; maintainers = with maintainers; [ jtojnar tomfitzhenry ];
}; };
} }