2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2020-04-24 23:36:52 +00:00
|
|
|
, IOKit ? null }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libstatgrab-0.92";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://ftp.i-scream.org/pub/i-scream/libstatgrab/${name}.tar.gz";
|
|
|
|
sha256 = "15m1sl990l85ijf8pnc6hdfha6fqyiq74mijrzm3xz4zzxm91wav";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
buildInputs = [] ++ lib.optional stdenv.isDarwin IOKit;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.i-scream.org/libstatgrab/";
|
|
|
|
description = "A library that provides cross platforms access to statistics about the running system";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|