summary refs log tree commit diff
path: root/pkgs/development/libraries/gbenchmark/default.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <namiantov@rsx.finance>2016-12-16 17:26:21 +0300
committerNikolay Amiantov <ab@fmap.me>2016-12-16 17:44:21 +0300
commit664cc49b1929b5f71816663744ee39662a68f92f (patch)
treec5bd7edb45a8f1e1607a8a9c6a2c223dedc22495 /pkgs/development/libraries/gbenchmark/default.nix
parent0e8e4a08f35187285105a4a586fe2eec727a552a (diff)
downloadnixpkgs-664cc49b1929b5f71816663744ee39662a68f92f.tar
nixpkgs-664cc49b1929b5f71816663744ee39662a68f92f.tar.gz
nixpkgs-664cc49b1929b5f71816663744ee39662a68f92f.tar.bz2
nixpkgs-664cc49b1929b5f71816663744ee39662a68f92f.tar.lz
nixpkgs-664cc49b1929b5f71816663744ee39662a68f92f.tar.xz
nixpkgs-664cc49b1929b5f71816663744ee39662a68f92f.tar.zst
nixpkgs-664cc49b1929b5f71816663744ee39662a68f92f.zip
gbenchmark: init at 1.1.0
Diffstat (limited to 'pkgs/development/libraries/gbenchmark/default.nix')
-rw-r--r--pkgs/development/libraries/gbenchmark/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gbenchmark/default.nix b/pkgs/development/libraries/gbenchmark/default.nix
new file mode 100644
index 00000000000..8f532ae8e0b
--- /dev/null
+++ b/pkgs/development/libraries/gbenchmark/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, callPackage, fetchFromGitHub, cmake }:
+
+stdenv.mkDerivation rec {
+  name = "gbenchmark-${version}";
+  version = "1.1.0";
+
+  src = fetchFromGitHub {
+    owner = "google";
+    repo = "benchmark";
+    rev = "v${version}";
+    sha256 = "1y7k73kyxx1jlph23csnhdac76px6ghhwwxbcf0133m4rg0wmpn5";
+  };
+
+  buildInputs = [ cmake ];
+
+  enableParallelBuilding = true;
+
+  meta = with stdenv.lib; {
+    description = "A microbenchmark support library";
+    homepage = "https://github.com/google/benchmark";
+    license = licenses.asl20;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ abbradar ];
+  };
+}