{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { version = "4.4.0"; pname = "intel-cmt-cat"; src = fetchFromGitHub { owner = "intel"; repo = "intel-cmt-cat"; rev = "v${version}"; sha256 = "sha256-THP0ie9Ta0iNcAJYCRXMajqYBIFuT67kGMDakL4vIZc="; }; enableParallelBuilding = true; makeFlags = [ "PREFIX=$(out)" "NOLDCONFIG=y" ]; meta = with lib; { description = "User space software for Intel(R) Resource Director Technology"; homepage = "https://github.com/intel/intel-cmt-cat"; license = licenses.bsd3; maintainers = with maintainers; [ arkivm ]; platforms = [ "x86_64-linux" ]; }; }