nixpkgs-suyu/pkgs/development/libraries/intel-media-sdk/default.nix

29 lines
837 B
Nix
Raw Normal View History

2019-03-10 20:40:54 +01:00
{ stdenv, fetchurl, autoPatchelfHook, cmake, pkgconfig, libdrm, libpciaccess
, libva , libX11, libXau, libXdmcp, libpthreadstubs
}:
stdenv.mkDerivation rec {
pname = "intel-media-sdk";
2019-11-28 04:51:43 +01:00
version = "19.3.1";
2019-03-10 20:40:54 +01:00
src = fetchurl {
url = "https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-${version}.tar.gz";
2019-11-28 04:51:43 +01:00
sha256 = "12w1f3krcrjyhax4y3hbs7galhf4rabxym2fxjyil8cszx5fh433";
2019-03-10 20:40:54 +01:00
};
# patchelf is needed for binaries in $out/share/samples
nativeBuildInputs = [ autoPatchelfHook cmake pkgconfig ];
buildInputs = [
libdrm libva libpciaccess libX11 libXau libXdmcp libpthreadstubs
];
enableParallelBuild = true;
meta = with stdenv.lib; {
description = "Intel Media SDK.";
license = licenses.mit;
maintainers = with maintainers; [ midchildan ];
platforms = with platforms; linux;
};
}