From bc9d5b7bef77e37885b76e9c5e9d19dc4f840a9f Mon Sep 17 00:00:00 2001 From: CrazedProgrammer Date: Thu, 14 Mar 2019 21:14:07 +0100 Subject: [PATCH] wf-recorder: init at unstable-2019-03-12 --- .../video/wf-recorder/default.nix | 24 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/applications/video/wf-recorder/default.nix diff --git a/pkgs/applications/video/wf-recorder/default.nix b/pkgs/applications/video/wf-recorder/default.nix new file mode 100644 index 0000000000000..cdeade6196eed --- /dev/null +++ b/pkgs/applications/video/wf-recorder/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, wayland, wayland-protocols, ffmpeg, x264 }: + +stdenv.mkDerivation rec { + pname = "wf-recorder"; + version = "unstable-2019-03-12"; + + src = fetchFromGitHub { + owner = "ammen99"; + repo = pname; + rev = "e6ea77a2569c04975cab8655f5ad4dbcf86df1f5"; + sha256 = "1jhj5syzy8i8f9b3j4g12jmc5fcsiv4df9hgribdvw61v5pfz9g1"; + }; + + nativeBuildInputs = [ meson ninja pkgconfig ]; + buildInputs = [ wayland wayland-protocols ffmpeg x264 ]; + + meta = with stdenv.lib; { + description = "Utility program for screen recording of wlroots-based compositors"; + homepage = https://github.com/ammen99/wf-recorder; + license = licenses.mit; + maintainers = with maintainers; [ CrazedProgrammer ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fb0d1246e3523..4f4301d627c67 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6148,6 +6148,8 @@ in welkin = callPackage ../tools/graphics/welkin {}; + wf-recorder = callPackage ../applications/video/wf-recorder { }; + whipper = callPackage ../applications/audio/whipper { }; whois = callPackage ../tools/networking/whois { };