about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorajs124 <ajs124@users.noreply.github.com>2023-12-01 11:52:55 +0100
committerGitHub <noreply@github.com>2023-12-01 11:52:55 +0100
commitca032865fec5f5eb3bc7e21bec81f499ed53445a (patch)
tree4e60b64c8789518ec68c1ca18b2084209dfe4398 /pkgs/applications
parent954c4d37ea83603e5291b88888b0777fbf2e9105 (diff)
parent8e2f58befda8c52c979ab325279cb3f1ce4bfc27 (diff)
downloadnixlib-ca032865fec5f5eb3bc7e21bec81f499ed53445a.tar
nixlib-ca032865fec5f5eb3bc7e21bec81f499ed53445a.tar.gz
nixlib-ca032865fec5f5eb3bc7e21bec81f499ed53445a.tar.bz2
nixlib-ca032865fec5f5eb3bc7e21bec81f499ed53445a.tar.lz
nixlib-ca032865fec5f5eb3bc7e21bec81f499ed53445a.tar.xz
nixlib-ca032865fec5f5eb3bc7e21bec81f499ed53445a.tar.zst
nixlib-ca032865fec5f5eb3bc7e21bec81f499ed53445a.zip
Merge pull request #268696 from helsinki-systems/upd/mpv-mpris
mpvScripts.mpris: 1.0 -> 1.1
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/video/mpv/scripts/mpris.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/applications/video/mpv/scripts/mpris.nix b/pkgs/applications/video/mpv/scripts/mpris.nix
index 2deb0e9b976e..cc230c2f1f43 100644
--- a/pkgs/applications/video/mpv/scripts/mpris.nix
+++ b/pkgs/applications/video/mpv/scripts/mpris.nix
@@ -1,25 +1,25 @@
-{ lib, stdenv, fetchFromGitHub, pkg-config, glib, mpv-unwrapped }:
+{ lib, stdenv, fetchFromGitHub, pkg-config, glib, mpv-unwrapped, ffmpeg }:
 
 stdenv.mkDerivation rec {
   pname = "mpv-mpris";
-  version = "1.0";
+  version = "1.1";
 
   src = fetchFromGitHub {
     owner = "hoyon";
     repo = "mpv-mpris";
     rev = version;
-    sha256 = "sha256-7kPpCfiWe58V4fBOsEVvGoGeNIlMUAyD1fqS5/8k/e4=";
+    hash = "sha256-vZIO6ILatIWa9nJYOp4AMKwvaZLahqYWRLMDOizyBI0=";
   };
 
   nativeBuildInputs = [ pkg-config ];
 
-  buildInputs = [ glib mpv-unwrapped ];
+  buildInputs = [ glib mpv-unwrapped ffmpeg ];
 
   postPatch = ''
     substituteInPlace Makefile --replace 'PKG_CONFIG =' 'PKG_CONFIG ?='
   '';
 
-  installFlags = [ "SCRIPTS_DIR=$(out)/share/mpv/scripts" ];
+  installFlags = [ "SCRIPTS_DIR=${placeholder "out"}/share/mpv/scripts" ];
 
   # Otherwise, the shared object isn't `strip`ped. See:
   # https://discourse.nixos.org/t/debug-why-a-derivation-has-a-reference-to-gcc/7009
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
     homepage = "https://github.com/hoyon/mpv-mpris";
     license = licenses.mit;
     platforms = platforms.linux;
-    maintainers = with maintainers; [ ];
+    maintainers = with maintainers; [ ajs124 ];
     changelog = "https://github.com/hoyon/mpv-mpris/releases/tag/${version}";
   };
 }