diff options
Diffstat (limited to 'pkgs/wlstream/default.nix')
-rw-r--r-- | pkgs/wlstream/default.nix | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/pkgs/wlstream/default.nix b/pkgs/wlstream/default.nix deleted file mode 100644 index 25ae554..0000000 --- a/pkgs/wlstream/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ stdenv, fetchFromGitHub -, meson, ninja, pkgconfig -, libdrm, wayland, wayland-protocols -, ffmpeg_4, libpulseaudio -, fetchpatch -}: - -let - metadata = import ./metadata.nix; -in -stdenv.mkDerivation rec { - name = "wlstream-${version}"; - version = metadata.rev; - - src = fetchFromGitHub { - owner = "atomnuker"; - repo = "wlstream"; - rev = version; - sha256 = metadata.sha256; - }; - patches = [ - (fetchpatch { - url = "https://github.com/atomnuker/wlstream/pull/4/commits/23e43186fd1ebeb553c89317f69613e67b266cd3.patch"; - sha256 = "03v0xppjb3ns0rkdinidhp3di4k127f5gxrjklwrid5jppfgg264"; - }) - ]; - - enableParallelBuilding = true; - nativeBuildInputs = [ meson ninja pkgconfig ]; - buildInputs = [ - libdrm wayland wayland-protocols - ffmpeg_4 libpulseaudio - ]; - mesonFlags = [ - "-Dauto_features=enabled" - ]; - - meta = with stdenv.lib; { - description = "wlroots-compatible screen capture application"; - homepage = "https://github.com/atomnuker/wlstream"; - license = licenses.gpl2; - platforms = platforms.linux; - maintainers = with maintainers; [ colemickens ]; - }; -} |