git.iko.soy/typeable/nixpkgs
on master help sign in
gbenchmark: init at 1.1.0
commit664cc49b1929b5f71816663744ee39662a68f92f authorNikolay Amiantov <namiantov@rsx.finance> dateFri 16 Dec 2016, 17:26 (10 years ago) parent0e8e4a0
2 files changed+26
pkgs/development/libraries/gbenchmark/default.nix+25 pkgs/top-level/all-packages.nix+1
pkgs/development/libraries/gbenchmark/default.nixnew file+25
@@ -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+}
pkgs/top-level/all-packages.nix+1
@@ -2043,6 +2043,7 @@ in
20432043
20442044 gtest = callPackage ../development/libraries/gtest {};
20452045 gmock = callPackage ../development/libraries/gmock {};
2046+ gbenchmark = callPackage ../development/libraries/gbenchmark {};
20462047
20472048 gtkdatabox = callPackage ../development/libraries/gtkdatabox {};
20482049