about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libstatgrab/default.nix
blob: fb7b3be6b6988d4c9f88b9d180bc374fb271783c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl
, IOKit ? null }:

stdenv.mkDerivation rec {
  name = "libstatgrab-0.91";

  src = fetchurl {
    url = "https://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 = 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;
    maintainers = with maintainers; [ wkennington ];
  };
}