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";
|
2017-10-27 01:44:19 +02:00
|
|
|
|
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; {
|
2017-10-27 01:44:19 +02:00
|
|
|
homepage = https://github.com/google/glog;
|
2015-04-22 00:33:39 +02:00
|
|
|
license = licenses.bsd3;
|
2014-08-24 16:21:08 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|