@@ -0,0 +1,25 @@
1+{ stdenv, callPackage, fetchFromGitHub, cmake }:
2+
3+stdenv.mkDerivation rec {
4+ name = "gbenchmark-${version}";
5+ version = "1.1.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "google";
9+ repo = "benchmark";
10+ rev = "v${version}";
11+ sha256 = "1y7k73kyxx1jlph23csnhdac76px6ghhwwxbcf0133m4rg0wmpn5";
12+ };
13+
14+ buildInputs = [ cmake ];
15+
16+ enableParallelBuilding = true;
17+
18+ meta = with stdenv.lib; {
19+ description = "A microbenchmark support library";
20+ homepage = "https://github.com/google/benchmark";
21+ license = licenses.asl20;
22+ platforms = platforms.linux;
23+ maintainers = with maintainers; [ abbradar ];
24+ };
25+}