mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
Merge pull request #239462 from Kranzes/wl-screenrec
wl-screenrec: init at unstable-2023-05-31
This commit is contained in:
commit
22b7fe3ef7
39
pkgs/tools/wayland/wl-screenrec/default.nix
Normal file
39
pkgs/tools/wayland/wl-screenrec/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, wayland
|
||||
, ffmpeg
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wl-screenrec";
|
||||
version = "unstable-2023-05-31";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "russelltg";
|
||||
repo = pname;
|
||||
rev = "fc918f7898900c1882c6f64c96ed2de8cb9a6300";
|
||||
hash = "sha256-P/JELiw0qGcwLFgNPccN/uetNy8CNCJdlCLhgq0h4sc=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-r9zmAiLiAntHcb5W/WKmKbVP9c9+15ElIWtHkks0wig=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
rustPlatform.bindgenHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
wayland
|
||||
ffmpeg
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "High performance wlroots screen recording, featuring hardware encoding";
|
||||
homepage = "https://github.com/russelltg/wl-screenrec";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ colemickens ];
|
||||
};
|
||||
}
|
|
@ -4498,6 +4498,8 @@ with pkgs;
|
|||
|
||||
wl-mirror = callPackage ../tools/wayland/wl-mirror { };
|
||||
|
||||
wl-screenrec = callPackage ../tools/wayland/wl-screenrec { };
|
||||
|
||||
wlogout = callPackage ../tools/wayland/wlogout { };
|
||||
|
||||
wlopm = callPackage ../tools/wayland/wlopm { };
|
||||
|
|
Loading…
Reference in a new issue