nixpkgs/pkgs/development/libraries/libstatgrab/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
641 B
Nix
Raw Normal View History

2021-06-29 23:16:23 +00:00
{ lib
, stdenv
, fetchurl
, IOKit
}:
2014-10-08 08:27:15 +00:00
stdenv.mkDerivation rec {
2021-06-22 13:21:29 +00:00
pname = "libstatgrab";
2021-12-09 17:30:03 +00:00
version = "0.92.1";
2014-10-08 08:27:15 +00:00
src = fetchurl {
2021-06-22 13:21:29 +00:00
url = "https://ftp.i-scream.org/pub/i-scream/libstatgrab/${pname}-${version}.tar.gz";
2021-12-09 17:30:03 +00:00
sha256 = "sha256-VoiqSmhVR9cXSoo3PqnY7pJ+dm48wwK97jRSPCxdbBE=";
2014-10-08 08:27:15 +00:00
};
2021-06-29 23:16:23 +00:00
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";
2021-06-29 23:16:23 +00:00
maintainers = with maintainers; [ ];
2014-10-08 08:27:15 +00:00
license = licenses.gpl2;
platforms = platforms.unix;
};
}