depot/pkgs/development/libraries/libstatgrab/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

25 lines
634 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.hostPlatform.isDarwin IOKit;
meta = with lib; {
homepage = "https://www.i-scream.org/libstatgrab/";
description = "Library that provides cross platforms access to statistics about the running system";
maintainers = [ ];
license = licenses.gpl2;
platforms = platforms.unix;
};
}