diff options
author | William Casarin <bill@casarin.me> | 2015-03-30 00:10:29 -0700 |
---|---|---|
committer | William Casarin <bill@casarin.me> | 2015-03-30 00:56:21 -0700 |
commit | 497eba7bcb902f6572bab1a75ab02df51643f0a9 (patch) | |
tree | 14ecfc930f706c53d042bd2cef019892fa692f3c /pkgs/applications/video/obs-studio | |
parent | 70a1e3c8377306e19789fa6f279bf45f98883231 (diff) |
add obs-studio
Open Broadcaster Software is free and open source software for video recording and live streaming https://obsproject.com/
Diffstat (limited to 'pkgs/applications/video/obs-studio')
-rw-r--r-- | pkgs/applications/video/obs-studio/default.nix | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/applications/video/obs-studio/default.nix b/pkgs/applications/video/obs-studio/default.nix new file mode 100644 index 0000000000000..a600fe8bb7849 --- /dev/null +++ b/pkgs/applications/video/obs-studio/default.nix @@ -0,0 +1,46 @@ +{ stdenv +, fetchurl +, cmake +, ffmpeg +, jansson +, libxkbcommon +, qt5 +, libv4l +, x264 +}: + +stdenv.mkDerivation rec { + name = "obs-studio"; + version = "0.9.1"; + + src = fetchurl { + url = "https://github.com/jp9000/${name}/archive/${version}.tar.gz"; + sha256 = "198ymfdrg58i3by58fs68df835rkpnpagnvyzlilmn9ypvpa8h81"; + }; + + buildInputs = [ cmake + ffmpeg + jansson + libv4l + libxkbcommon + qt5 + x264 + ]; + + # obs attempts to dlopen libobs-opengl, it fails unless we make sure + # DL_OPENGL is an explicit path. Not sure if there's a better way + # to handle this. + cmakeFlags = [ "-DCMAKE_CXX_FLAGS=-DDL_OPENGL=\\\"$(out)/lib/libobs-opengl.so\\\"" ]; + + meta = with stdenv.lib; { + description = "Free and open source software for video recording and live streaming"; + longDescription = '' + This project is a rewrite of what was formerly known as "Open Broadcaster + Software", software originally designed for recording and streaming live + video content, efficiently + ''; + homepage = "https://obsproject.com"; + maintainers = with maintainers; [ jb55 ]; + license = licenses.gpl2; + }; +} |