nixpkgs-suyu/pkgs/development/libraries/glog/default.nix

26 lines
654 B
Nix
Raw Normal View History

2018-08-08 20:31:20 +02:00
{ stdenv, fetchFromGitHub, autoreconfHook, perl }:
2014-01-24 15:51:04 +01:00
stdenv.mkDerivation rec {
2015-04-22 00:33:39 +02:00
name = "glog-${version}";
2017-11-12 14:37:36 +01:00
version = "0.3.5";
2015-04-22 00:33:39 +02:00
src = fetchFromGitHub {
2017-11-12 14:37:36 +01:00
owner = "google";
2015-04-22 00:33:39 +02:00
repo = "glog";
rev = "v${version}";
2017-11-12 14:37:36 +01:00
sha256 = "12v7j6xy0ghya6a0f6ciy4fnbdc486vml2g07j9zm8y5xc6vx3pq";
2014-01-24 15:51:04 +01:00
};
2015-04-22 00:33:39 +02:00
nativeBuildInputs = [ autoreconfHook ];
2018-08-08 20:31:20 +02:00
checkInputs = [ perl ];
doCheck = false; # fails with "Mangled symbols (28 out of 380) found in demangle.dm"
2015-04-22 00:33:39 +02:00
meta = with stdenv.lib; {
homepage = https://github.com/google/glog;
2015-04-22 00:33:39 +02:00
license = licenses.bsd3;
description = "Library for application-level logging";
2015-04-22 00:33:39 +02:00
platforms = platforms.unix;
2014-01-24 15:51:04 +01:00
};
}