obs-vkcapture: init at 1.1.3

This commit is contained in:
Átila Saraiva 2022-04-22 21:55:01 -03:00
parent 07d6a6cfc3
commit aa534e3869
2 changed files with 36 additions and 0 deletions

View file

@ -9,4 +9,5 @@
wlrobs = callPackage ./wlrobs.nix {};
looking-glass-obs = callPackage ./looking-glass-obs.nix {};
obs-nvfbc = callPackage ./obs-nvfbc.nix {};
obs-vkcapture = callPackage ./obs-vkcapture.nix {};
}

View file

@ -0,0 +1,35 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, ninja
, wayland
, obs-studio
, libX11
, vulkan-headers
, vulkan-loader
, libGL
}:
stdenv.mkDerivation rec {
pname = "obs-vkcapture";
version = "1.1.3";
src = fetchFromGitHub {
owner = "nowrep";
repo = pname;
rev = "v${version}";
sha256 = "sha256-iIV9ke2yPEt2Lf4bwiEHFip4tLhMS4raWGyCWpao74w=";
};
nativeBuildInputs = [ cmake ninja ];
buildInputs = [ libGL libX11 obs-studio vulkan-headers vulkan-loader wayland ];
meta = with lib; {
description = "OBS Linux Vulkan/OpenGL game capture";
homepage = "https://github.com/nowrep/obs-vkcapture";
maintainers = with maintainers; [ atila ];
license = licenses.gpl2Only;
platforms = [ "x86_64-linux" "i686-linux" ];
};
}