3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libstatgrab/default.nix

21 lines
589 B
Nix
Raw Normal View History

{ stdenv, fetchurl
, IOKit ? null }:
2014-10-08 09:27:15 +01:00
stdenv.mkDerivation rec {
name = "libstatgrab-0.92";
2014-10-08 09:27:15 +01:00
src = fetchurl {
url = "https://ftp.i-scream.org/pub/i-scream/libstatgrab/${name}.tar.gz";
sha256 = "15m1sl990l85ijf8pnc6hdfha6fqyiq74mijrzm3xz4zzxm91wav";
2014-10-08 09:27:15 +01:00
};
buildInputs = [] ++ stdenv.lib.optional stdenv.isDarwin IOKit;
2014-10-08 09:27:15 +01:00
meta = with stdenv.lib; {
homepage = https://www.i-scream.org/libstatgrab/;
description = "A library that provides cross platforms access to statistics about the running system";
2014-10-08 09:27:15 +01:00
license = licenses.gpl2;
platforms = platforms.unix;
};
}