Skip to content

Commit

Permalink
nanobench: init at 4.3.11 (rev. e432789)
Browse files Browse the repository at this point in the history
  • Loading branch information
foolnotion committed Dec 8, 2024
1 parent 33ed812 commit d5c6f7a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@

mppp = pkgs.callPackage ./pkgs/mppp { };

nanobench = pkgs.callPackage ./pkgs/nanobench { };

parallel-hashmap = pkgs.callPackage ./pkgs/parallel-hashmap { };

pareto = pkgs.python3Packages.callPackage ./pkgs/pareto { };
Expand Down
27 changes: 27 additions & 0 deletions pkgs/nanobench/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:

stdenv.mkDerivation rec {
pname = "nanobench";
version = "4.3.11";

src = fetchFromGitHub {
owner = "martinus";
repo = "nanobench";
rev = "e4327893194f06928012eb81cabc606c4e4791ac";
sha256 = "sha256-WZmlZS9nQ/mN+IYyuatrPAF1Nbjzm921qQYcxYtzbKs=";
};

nativeBuildInputs = [ cmake ];

meta = with lib; {
description = "Platform independent microbenchmarking library for C++11/14/17/20";
homepage = "https://nanobench.ankerl.com";
license = licenses.mit;
platforms = platforms.all;
#maintainers = with maintainers; [ foolnotion ];
};
}

0 comments on commit d5c6f7a

Please sign in to comment.