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

26 lines
620 B
Nix
Raw Normal View History

2016-12-16 14:26:21 +00:00
{ stdenv, callPackage, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "gbenchmark-${version}";
2017-07-27 13:52:47 +01:00
version = "1.2.0";
2016-12-16 14:26:21 +00:00
src = fetchFromGitHub {
owner = "google";
repo = "benchmark";
rev = "v${version}";
2017-07-27 13:52:47 +01:00
sha256 = "1gld3zdxgc0c0466qvnsi70h2ksx8qprjrx008rypdhzp6660m48";
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 ];
};
}