Merge pull request #303183 from msfjarvis/hs/spot-0.4.1

spot: 0.4.0 -> 0.4.1

authored by Peder Bergebakken Sundt and committed by GitHub 3284649d 191a9a82

+9 -13
+9 -13
pkgs/applications/audio/spot/default.nix
··· 5 , meson 6 , ninja 7 , gettext 8 - , python3 9 , desktop-file-utils 10 , cargo 11 , rustPlatform ··· 19 , alsa-lib 20 , libpulseaudio 21 , wrapGAppsHook4 22 }: 23 24 stdenv.mkDerivation rec { 25 pname = "spot"; 26 - version = "0.4.0"; 27 28 src = fetchFromGitHub { 29 owner = "xou816"; 30 repo = "spot"; 31 rev = version; 32 - hash = "sha256-K6wGWhAUUGsbE4O+z0TmJcJyGarvHgZteY527jfAa90="; 33 }; 34 35 cargoDeps = rustPlatform.fetchCargoTarball { 36 inherit src; 37 name = "${pname}-${version}"; 38 - hash = "sha256-eM2XLumn4dr2YtyUzBZJADlqdexc1iOaNJUudMlfSUc="; 39 }; 40 41 nativeBuildInputs = [ ··· 43 meson 44 ninja 45 pkg-config 46 - python3 # for meson postinstall script 47 gtk4 # for gtk-update-icon-cache 48 glib # for glib-compile-schemas 49 desktop-file-utils ··· 51 rustPlatform.cargoSetupHook 52 rustc 53 wrapGAppsHook4 54 ]; 55 56 buildInputs = [ ··· 61 openssl 62 alsa-lib 63 libpulseaudio 64 ]; 65 66 # https://github.com/xou816/spot/issues/313 67 mesonBuildType = "release"; 68 69 - postPatch = '' 70 - chmod +x build-aux/cargo.sh 71 - patchShebangs build-aux/cargo.sh build-aux/meson/postinstall.py 72 - substituteInPlace build-aux/meson/postinstall.py \ 73 - --replace gtk-update-icon-cache gtk4-update-icon-cache 74 - ''; 75 - 76 passthru = { 77 updateScript = nix-update-script { }; 78 }; ··· 82 mainProgram = "spot"; 83 homepage = "https://github.com/xou816/spot"; 84 license = licenses.mit; 85 - maintainers = with maintainers; [ ]; 86 platforms = platforms.linux; 87 }; 88 }
··· 5 , meson 6 , ninja 7 , gettext 8 , desktop-file-utils 9 , cargo 10 , rustPlatform ··· 18 , alsa-lib 19 , libpulseaudio 20 , wrapGAppsHook4 21 + , blueprint-compiler 22 + , gst_all_1 23 }: 24 25 stdenv.mkDerivation rec { 26 pname = "spot"; 27 + version = "0.4.1"; 28 29 src = fetchFromGitHub { 30 owner = "xou816"; 31 repo = "spot"; 32 rev = version; 33 + hash = "sha256-F875e/VZyN8mTfe9lgjtILNxMqn+66XoPCdaEUagHyU="; 34 }; 35 36 cargoDeps = rustPlatform.fetchCargoTarball { 37 inherit src; 38 name = "${pname}-${version}"; 39 + hash = "sha256-45Rqs2/tSWoyZVjFuygR5SxldjoqpprtOKEnMqJK+p8="; 40 }; 41 42 nativeBuildInputs = [ ··· 44 meson 45 ninja 46 pkg-config 47 gtk4 # for gtk-update-icon-cache 48 glib # for glib-compile-schemas 49 desktop-file-utils ··· 51 rustPlatform.cargoSetupHook 52 rustc 53 wrapGAppsHook4 54 + blueprint-compiler 55 ]; 56 57 buildInputs = [ ··· 62 openssl 63 alsa-lib 64 libpulseaudio 65 + gst_all_1.gst-plugins-base 66 + gst_all_1.gstreamer 67 ]; 68 69 # https://github.com/xou816/spot/issues/313 70 mesonBuildType = "release"; 71 72 passthru = { 73 updateScript = nix-update-script { }; 74 }; ··· 78 mainProgram = "spot"; 79 homepage = "https://github.com/xou816/spot"; 80 license = licenses.mit; 81 + maintainers = with maintainers; [ msfjarvis ]; 82 platforms = platforms.linux; 83 }; 84 }