Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

tinymembench: init at 0.4 #287542

Merged
merged 1 commit into from
Mar 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions pkgs/by-name/ti/tinymembench/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ lib
, stdenv
, fetchFromGitHub
}:

stdenv.mkDerivation rec {
pname = "tinymembench";
version = "0.4";

src = fetchFromGitHub {
owner = "ssvb";
repo = "tinymembench";
rev = "v${version}";
hash = "sha256-N6jHRLqVSNe+Mk3WNfIEBGtVC7Y6/sERVaeAD68LQJc=";
};

installPhase = ''
runHook preInstall
install -D tinymembench $out/bin/tinymembench
lorenz marked this conversation as resolved.
Show resolved Hide resolved
runHook postInstall
'';

meta = with lib; {
homepage = "https://github.com/ssvb/tinymembench";
description = "Simple benchmark for memory throughput and latency";
license = licenses.mit;
platforms = platforms.linux;
mainProgram = "tinymembench";
maintainers = with maintainers; [ lorenz ];
lorenz marked this conversation as resolved.
Show resolved Hide resolved
};
}
Loading