1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libplacebo/default.nix

47 lines
864 B
Nix
Raw Normal View History

2019-07-08 13:49:41 +01:00
{ stdenv
, fetchFromGitLab
, meson
, ninja
, pkgconfig
, vulkan-headers
, vulkan-loader
, shaderc
, glslang
, lcms2
}:
stdenv.mkDerivation rec {
pname = "libplacebo";
2019-12-23 20:03:23 +00:00
version = "1.29.0";
2019-07-08 13:49:41 +01:00
src = fetchFromGitLab {
domain = "code.videolan.org";
owner = "videolan";
repo = pname;
rev = "v${version}";
2019-12-23 20:03:23 +00:00
sha256 = "1w0ihyc01y25ic4wsm26q5haalm4i3np5azzwyw4m011dlwxdiwr";
2019-07-08 13:49:41 +01:00
};
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;
};
}