Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 pname = "amf-headers"; 5 version = "1.4.29"; 6 7 src = fetchFromGitHub { 8 owner = "GPUOpen-LibrariesAndSDKs"; 9 repo = "AMF"; 10 rev = "v${version}"; 11 sha256 = "sha256-gu8plGUUVE/De2bRjTUN8JKsmj/0r/IsqhMpln1DZGU="; 12 }; 13 14 installPhase = '' 15 mkdir -p $out/include/AMF 16 cp -r amf/public/include/* $out/include/AMF 17 ''; 18 19 meta = with lib; { 20 description = "Headers for The Advanced Media Framework (AMF)"; 21 homepage = "https://github.com/GPUOpen-LibrariesAndSDKs/AMF"; 22 license = licenses.mit; 23 maintainers = with maintainers; [ devusb ]; 24 platforms = platforms.unix; 25 }; 26}