3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/gbenchmark/default.nix

26 lines
607 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake }:
2016-12-16 14:26:21 +00:00
stdenv.mkDerivation rec {
name = "gbenchmark-${version}";
2018-02-25 17:03:51 +00:00
version = "1.3.0";
2016-12-16 14:26:21 +00:00
src = fetchFromGitHub {
owner = "google";
repo = "benchmark";
rev = "v${version}";
2018-02-25 17:03:51 +00:00
sha256 = "1qx2dp7y0haj6wfbbfw8hx8sxb8ww0igdfrmmaaxfl0vhckylrxh";
2016-12-16 14:26:21 +00:00
};
buildInputs = [ cmake ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A microbenchmark support library";
homepage = https://github.com/google/benchmark;
2016-12-16 14:26:21 +00:00
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}