mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 18:12:46 +00:00
3182e52fdd
Darwin needs IOKit to work.
22 lines
640 B
Nix
22 lines
640 B
Nix
{ stdenv, fetchurl
|
|
, IOKit ? null }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libstatgrab-0.91";
|
|
|
|
src = fetchurl {
|
|
url = "http://ftp.i-scream.org/pub/i-scream/libstatgrab/${name}.tar.gz";
|
|
sha256 = "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83";
|
|
};
|
|
|
|
buildInputs = [] ++ stdenv.lib.optional stdenv.isDarwin IOKit;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://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;
|
|
maintainers = with maintainers; [ wkennington ];
|
|
};
|
|
}
|