depot/third_party/nixpkgs/pkgs/development/libraries/libstatgrab/default.nix
Default email 3cbfd2b52c Project import generated by Copybara.
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
2021-12-18 20:06:50 -05:00

25 lines
641 B
Nix

{ lib
, stdenv
, fetchurl
, IOKit
}:
stdenv.mkDerivation rec {
pname = "libstatgrab";
version = "0.92.1";
src = fetchurl {
url = "https://ftp.i-scream.org/pub/i-scream/libstatgrab/${pname}-${version}.tar.gz";
sha256 = "sha256-VoiqSmhVR9cXSoo3PqnY7pJ+dm48wwK97jRSPCxdbBE=";
};
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;
};
}