about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libstatgrab
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libstatgrab')
-rw-r--r--nixpkgs/pkgs/development/libraries/libstatgrab/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libstatgrab/default.nix b/nixpkgs/pkgs/development/libraries/libstatgrab/default.nix
new file mode 100644
index 000000000000..8896447590ba
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/libstatgrab/default.nix
@@ -0,0 +1,20 @@
+{ 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;
+  };
+}