{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { version = "4.2.0"; pname = "intel-cmt-cat"; src = fetchFromGitHub { owner = "intel"; repo = "intel-cmt-cat"; rev = "v${version}"; sha256 = "sha256-k66FZI76d9HcWEMwEgOlObdPmRhuK5h2GKXOzUY0BKQ="; }; 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" ]; }; }