Merge pull request #268696 from helsinki-systems/upd/mpv-mpris

mpvScripts.mpris: 1.0 -> 1.1

authored by ajs124 and committed by GitHub ca032865 954c4d37

+6 -6
+6 -6
pkgs/applications/video/mpv/scripts/mpris.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pkg-config, glib, mpv-unwrapped }: 2 3 stdenv.mkDerivation rec { 4 pname = "mpv-mpris"; 5 - version = "1.0"; 6 7 src = fetchFromGitHub { 8 owner = "hoyon"; 9 repo = "mpv-mpris"; 10 rev = version; 11 - sha256 = "sha256-7kPpCfiWe58V4fBOsEVvGoGeNIlMUAyD1fqS5/8k/e4="; 12 }; 13 14 nativeBuildInputs = [ pkg-config ]; 15 16 - buildInputs = [ glib mpv-unwrapped ]; 17 18 postPatch = '' 19 substituteInPlace Makefile --replace 'PKG_CONFIG =' 'PKG_CONFIG ?=' 20 ''; 21 22 - installFlags = [ "SCRIPTS_DIR=$(out)/share/mpv/scripts" ]; 23 24 # Otherwise, the shared object isn't `strip`ped. See: 25 # https://discourse.nixos.org/t/debug-why-a-derivation-has-a-reference-to-gcc/7009 ··· 31 homepage = "https://github.com/hoyon/mpv-mpris"; 32 license = licenses.mit; 33 platforms = platforms.linux; 34 - maintainers = with maintainers; [ ]; 35 changelog = "https://github.com/hoyon/mpv-mpris/releases/tag/${version}"; 36 }; 37 }
··· 1 + { lib, stdenv, fetchFromGitHub, pkg-config, glib, mpv-unwrapped, ffmpeg }: 2 3 stdenv.mkDerivation rec { 4 pname = "mpv-mpris"; 5 + version = "1.1"; 6 7 src = fetchFromGitHub { 8 owner = "hoyon"; 9 repo = "mpv-mpris"; 10 rev = version; 11 + hash = "sha256-vZIO6ILatIWa9nJYOp4AMKwvaZLahqYWRLMDOizyBI0="; 12 }; 13 14 nativeBuildInputs = [ pkg-config ]; 15 16 + buildInputs = [ glib mpv-unwrapped ffmpeg ]; 17 18 postPatch = '' 19 substituteInPlace Makefile --replace 'PKG_CONFIG =' 'PKG_CONFIG ?=' 20 ''; 21 22 + installFlags = [ "SCRIPTS_DIR=${placeholder "out"}/share/mpv/scripts" ]; 23 24 # Otherwise, the shared object isn't `strip`ped. See: 25 # https://discourse.nixos.org/t/debug-why-a-derivation-has-a-reference-to-gcc/7009 ··· 31 homepage = "https://github.com/hoyon/mpv-mpris"; 32 license = licenses.mit; 33 platforms = platforms.linux; 34 + maintainers = with maintainers; [ ajs124 ]; 35 changelog = "https://github.com/hoyon/mpv-mpris/releases/tag/${version}"; 36 }; 37 }