nixpkgs/pkgs/development/libraries/libstatgrab/default.nix

22 lines
642 B
Nix
Raw Normal View History

{ stdenv, fetchurl
, IOKit ? null }:
2014-10-08 10:27:15 +02:00
stdenv.mkDerivation rec {
name = "libstatgrab-0.91";
src = fetchurl {
url = "https://ftp.i-scream.org/pub/i-scream/libstatgrab/${name}.tar.gz";
2014-10-08 10:27:15 +02:00
sha256 = "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83";
};
buildInputs = [] ++ stdenv.lib.optional stdenv.isDarwin IOKit;
2014-10-08 10:27:15 +02: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 10:27:15 +02:00
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};
}