about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2022-10-09 08:43:38 -0300
committerGitHub <noreply@github.com>2022-10-09 08:43:38 -0300
commit377db224c1aa6b25780051a440174e98fc07e6c8 (patch)
treebaa11d62bad06953dc86cfa211ef75f1991ee7c4 /pkgs/tools
parentff92a56f77a0433d20d6e54e307acebdc82c58ca (diff)
parentc1af7320e6c10ce22bbda1bf626112b59b3a48e9 (diff)
Merge pull request #195093 from anthonyroussel/vdpauinfo_1_5
vdpauinfo: 1.3 -> 1.5
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/X11/vdpauinfo/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/tools/X11/vdpauinfo/default.nix b/pkgs/tools/X11/vdpauinfo/default.nix
index 35305d44635f4..a5fc87aaf6f2b 100644
--- a/pkgs/tools/X11/vdpauinfo/default.nix
+++ b/pkgs/tools/X11/vdpauinfo/default.nix
@@ -1,15 +1,16 @@
-{ lib, stdenv, fetchurl, pkg-config, libvdpau }:
+{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libvdpau }:
 
 stdenv.mkDerivation rec {
   pname = "vdpauinfo";
-  version = "1.3";
+  version = "1.5";
 
   src = fetchurl {
-    url = "https://gitlab.freedesktop.org/vdpau/vdpauinfo/uploads/6fa9718c507ef0fb6966170ef55344bf/${pname}-${version}.tar.gz";
-    sha256 = "0s6jdadnycyd1agsnfx7hrf17hmipasx1fpmppd4m1z6i9sp1i6g";
+    url = "https://gitlab.freedesktop.org/vdpau/vdpauinfo/-/archive/${version}/${pname}-${version}.tar.bz2";
+    hash = "sha256-uOs/r8Ow7KvSpY1NhD2A+D4Qs6iWJe4fZGfVj6nIiCw=";
   };
 
-  nativeBuildInputs = [ pkg-config ];
+  nativeBuildInputs = [ autoreconfHook pkg-config ];
+
   buildInputs = [ libvdpau ];
 
   meta = with lib; {
@@ -17,6 +18,6 @@ stdenv.mkDerivation rec {
     description = "Tool to query the Video Decode and Presentation API for Unix (VDPAU) abilities of the system";
     license = licenses.mit; # expat version
     platforms = platforms.unix;
-    maintainers = [ maintainers.vcunat ];
+    maintainers = with maintainers; [ vcunat ];
   };
 }