2023-03-15 16:39:30 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "amf-headers";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "1.4.32";
|
2023-03-15 16:39:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GPUOpen-LibrariesAndSDKs";
|
|
|
|
repo = "AMF";
|
|
|
|
rev = "v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-3CdC/9o6ur2CeVLImz2QfaZAH2+KtDdxs5zRF7W5/oo=";
|
2023-03-15 16:39:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include/AMF
|
|
|
|
cp -r amf/public/include/* $out/include/AMF
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Headers for The Advanced Media Framework (AMF)";
|
|
|
|
homepage = "https://github.com/GPUOpen-LibrariesAndSDKs/AMF";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ devusb ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|