diff options
author | Tadeo Kondrak <me@tadeo.ca> | 2019-07-08 06:49:41 -0600 |
---|---|---|
committer | Michael Weiss <dev.primeos@gmail.com> | 2019-08-27 23:30:41 +0200 |
commit | 0a72c327232108a90153a9bd69f86271553039af (patch) | |
tree | 7131c248427e614505f7a2fea5d94efff4ef9a84 /pkgs/development/libraries/libplacebo | |
parent | 81e643d2fdb843d2c1f5f005d9e210519a6808ea (diff) |
libplacebo: init at 1.1.8.0
Diffstat (limited to 'pkgs/development/libraries/libplacebo')
-rw-r--r-- | pkgs/development/libraries/libplacebo/default.nix | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libplacebo/default.nix b/pkgs/development/libraries/libplacebo/default.nix new file mode 100644 index 0000000000000..3fd8f86612c75 --- /dev/null +++ b/pkgs/development/libraries/libplacebo/default.nix @@ -0,0 +1,46 @@ +{ stdenv +, fetchFromGitLab +, meson +, ninja +, pkgconfig +, vulkan-headers +, vulkan-loader +, shaderc +, glslang +, lcms2 +}: + +stdenv.mkDerivation rec { + pname = "libplacebo"; + version = "1.18.0"; + + src = fetchFromGitLab { + domain = "code.videolan.org"; + owner = "videolan"; + repo = pname; + rev = "v${version}"; + sha256 = "0ib12i2491piwiz0g5n5izr5jmn5fhwzicq97vfki3r7wrdb54mz"; + }; + + nativeBuildInputs = [ + meson + ninja + pkgconfig + ]; + + buildInputs = [ + vulkan-headers + vulkan-loader + shaderc + glslang + lcms2 + ]; + + meta = with stdenv.lib; { + description = "Reusable library for GPU-accelerated video/image rendering primitives"; + homepage = "https://code.videolan.org/videolan/libplacebo"; + license = licenses.lgpl21Plus; + maintainers = with maintainers; [ tadeokondrak ]; + platforms = platforms.all; + }; +} |