Scott Edlund 3ad29bcee6 tinymembench: 0.4 -> 0.4.9-unstable-2017-02-15
v0.4 was the last tagged version. Commits have been added to master
branch that fix building in recent compiler upgrades.  Move from tagged
release to current HEAD.
2025-04-30 09:59:00 +08:00

33 lines
753 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation {
pname = "tinymembench";
version = "0.4.9-unstable-2017-02-15";
src = fetchFromGitHub {
owner = "ssvb";
repo = "tinymembench";
rev = "a2cf6d7e382e3aea1eb39173174d9fa28cad15f3";
hash = "sha256-INgvyu7jAA+07vkO9DsIDMcEy713jcnaEx3CI6GTMDA=";
};
installPhase = ''
runHook preInstall
install -D tinymembench $out/bin/tinymembench
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 ];
};
}