Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 21 lines 641 B view raw
1{ stdenv, fetchurl 2, IOKit ? null }: 3 4stdenv.mkDerivation rec { 5 name = "libstatgrab-0.91"; 6 7 src = fetchurl { 8 url = "http://ftp.i-scream.org/pub/i-scream/libstatgrab/${name}.tar.gz"; 9 sha256 = "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83"; 10 }; 11 12 buildInputs = [] ++ stdenv.lib.optional stdenv.isDarwin IOKit; 13 14 meta = with stdenv.lib; { 15 homepage = https://www.i-scream.org/libstatgrab/; 16 description = "A library that provides cross platforms access to statistics about the running system"; 17 license = licenses.gpl2; 18 platforms = platforms.unix; 19 maintainers = with maintainers; [ wkennington ]; 20 }; 21}