about summary refs log tree commit diff
path: root/pkgs/tools/wayland
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2023-09-23 04:32:18 +0300
committerGitHub <noreply@github.com>2023-09-23 04:32:18 +0300
commit6fbb58f8f501fdec806058bc52d4b71c3c443e2d (patch)
treed1dcf666e4cf6a11db1b205e5d9ab3750843726b /pkgs/tools/wayland
parentbd3cbfa09d56393d8eb61aa6b1fe0a55e6d8d6d2 (diff)
parentb0a5cb09970166900c8fbc58cf7446488eafb251 (diff)
downloadnixlib-6fbb58f8f501fdec806058bc52d4b71c3c443e2d.tar
nixlib-6fbb58f8f501fdec806058bc52d4b71c3c443e2d.tar.gz
nixlib-6fbb58f8f501fdec806058bc52d4b71c3c443e2d.tar.bz2
nixlib-6fbb58f8f501fdec806058bc52d4b71c3c443e2d.tar.lz
nixlib-6fbb58f8f501fdec806058bc52d4b71c3c443e2d.tar.xz
nixlib-6fbb58f8f501fdec806058bc52d4b71c3c443e2d.tar.zst
nixlib-6fbb58f8f501fdec806058bc52d4b71c3c443e2d.zip
Merge pull request #256586 from colemickens/wl-screenrec
Diffstat (limited to 'pkgs/tools/wayland')
-rw-r--r--pkgs/tools/wayland/wl-screenrec/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/tools/wayland/wl-screenrec/default.nix b/pkgs/tools/wayland/wl-screenrec/default.nix
index c7f42cba6430..c96a5834fa25 100644
--- a/pkgs/tools/wayland/wl-screenrec/default.nix
+++ b/pkgs/tools/wayland/wl-screenrec/default.nix
@@ -2,22 +2,23 @@
 , rustPlatform
 , fetchFromGitHub
 , pkg-config
-, wayland
+, libdrm
 , ffmpeg
+, wayland
 }:
 
 rustPlatform.buildRustPackage rec {
   pname = "wl-screenrec";
-  version = "unstable-2023-05-31";
+  version = "unstable-2023-09-17";
 
   src = fetchFromGitHub {
     owner = "russelltg";
     repo = pname;
-    rev = "fc918f7898900c1882c6f64c96ed2de8cb9a6300";
-    hash = "sha256-P/JELiw0qGcwLFgNPccN/uetNy8CNCJdlCLhgq0h4sc=";
+    rev = "a36c5923009b44f2131196d8a3a234948f8e0102";
+    hash = "sha256-V29eB9vozVKIBq8dO7zgA4nirsh1eDBjJN+rwVkeDLE=";
   };
 
-  cargoHash = "sha256-r9zmAiLiAntHcb5W/WKmKbVP9c9+15ElIWtHkks0wig=";
+  cargoHash = "sha256-uUfEweLWn/NdqgY8O7Ld+YnGPKQV1tpJi/Gd4MZB4xI=";
 
   nativeBuildInputs = [
     pkg-config
@@ -26,9 +27,12 @@ rustPlatform.buildRustPackage rec {
 
   buildInputs = [
     wayland
+    libdrm
     ffmpeg
   ];
 
+  doCheck = false; # tests use host compositor, etc
+
   meta = with lib; {
     description = "High performance wlroots screen recording, featuring hardware encoding";
     homepage = "https://github.com/russelltg/wl-screenrec";