2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchurl
|
2016-08-12 05:42:42 +02:00
|
|
|
, IOKit ? null }:
|
2014-10-08 10:27:15 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-07-19 22:15:30 +02:00
|
|
|
name = "libstatgrab-0.92";
|
2014-10-08 10:27:15 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://ftp.i-scream.org/pub/i-scream/libstatgrab/${name}.tar.gz";
|
2019-07-19 22:15:30 +02:00
|
|
|
sha256 = "15m1sl990l85ijf8pnc6hdfha6fqyiq74mijrzm3xz4zzxm91wav";
|
2014-10-08 10:27:15 +02:00
|
|
|
};
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
buildInputs = [] ++ lib.optional stdenv.isDarwin IOKit;
|
2016-08-12 05:42:42 +02:00
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02: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;
|
|
|
|
};
|
|
|
|
}
|