depot/third_party/nixpkgs/pkgs/development/libraries/libstatgrab/default.nix
Default email 5b567aa208 Project import generated by Copybara.
GitOrigin-RevId: 16105403bdd843540cbef9c63fc0f16c1c6eaa70
2021-07-21 09:28:18 +02:00

25 lines
640 B
Nix

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