mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
3fadbf8403
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/intel-media-sdk/versions
29 lines
837 B
Nix
29 lines
837 B
Nix
{ stdenv, fetchurl, autoPatchelfHook, cmake, pkgconfig, libdrm, libpciaccess
|
|
, libva , libX11, libXau, libXdmcp, libpthreadstubs
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "intel-media-sdk";
|
|
version = "19.2.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-${version}.tar.gz";
|
|
sha256 = "0w3r6lr2q3kch0vz9sxld1nz6iff129xr8wzg0p2j7mng41imh83";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|