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