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