Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 43 lines 793 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 cmake, 6 qtbase, 7 lxqt-build-tools, 8 wrapQtAppsHook, 9 gitUpdater, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "libsysstat"; 14 version = "1.1.0"; 15 16 src = fetchFromGitHub { 17 owner = "lxqt"; 18 repo = pname; 19 rev = version; 20 hash = "sha256-CwQz0vaBhMe32xBoSgFkxSwx3tnIHutp9Vs32FvTNVU="; 21 }; 22 23 nativeBuildInputs = [ 24 cmake 25 lxqt-build-tools 26 wrapQtAppsHook 27 ]; 28 29 buildInputs = [ 30 qtbase 31 ]; 32 33 passthru.updateScript = gitUpdater { }; 34 35 meta = with lib; { 36 broken = stdenv.hostPlatform.isDarwin; 37 description = "Library used to query system info and statistics"; 38 homepage = "https://github.com/lxqt/libsysstat"; 39 license = licenses.lgpl21Plus; 40 platforms = with platforms; unix; 41 teams = [ teams.lxqt ]; 42 }; 43}