Package peakperf
This commit is contained in:
parent
3a5135a814
commit
89c0e9d212
2 changed files with 31 additions and 0 deletions
|
@ -260,6 +260,7 @@
|
|||
dnspyre = pkgs.callPackage ./pkgs/dnspyre { };
|
||||
git-repo-go = pkgs.callPackage ./pkgs/git-repo-go { };
|
||||
hassbridge = pkgs.callPackage ./pkgs/hassbridge { };
|
||||
peakperf = pkgs.callPackage ./pkgs/peakperf { };
|
||||
tinyows = pkgs.callPackage ./pkgs/tinyows { };
|
||||
tsui = pkgs.callPackage ./pkgs/tsui { };
|
||||
};
|
||||
|
|
30
pkgs/peakperf/default.nix
Normal file
30
pkgs/peakperf/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "peakperf";
|
||||
version = "1.17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Dr-Noob";
|
||||
repo = "peakperf";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-bP38oo0tHDvzbWHiNwbkQoM7ZQ4nwTimVYfbPh0FUd4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Achieve peak performance on x86 CPUs and NVIDIA GPUs";
|
||||
homepage = "https://github.com/Dr-Noob/peakperf";
|
||||
license = lib.licenses.gpl2Only;
|
||||
mainProgram = "peakperf";
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue