2016-08-12 05:42:42 +02:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, IOKit ? null }:
|
2014-10-08 10:27:15 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libstatgrab-0.91";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://ftp.i-scream.org/pub/i-scream/libstatgrab/${name}.tar.gz";
|
2014-10-08 10:27:15 +02:00
|
|
|
sha256 = "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83";
|
|
|
|
};
|
|
|
|
|
2016-08-12 05:42:42 +02:00
|
|
|
buildInputs = [] ++ stdenv.lib.optional stdenv.isDarwin IOKit;
|
|
|
|
|
2014-10-08 10:27:15 +02:00
|
|
|
meta = with stdenv.lib; {
|
2018-01-05 20:42:46 +01:00
|
|
|
homepage = https://www.i-scream.org/libstatgrab/;
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "A library that provides cross platforms access to statistics about the running system";
|
2014-10-08 10:27:15 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
};
|
|
|
|
}
|