nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 45 lines 824 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 qt6, 6 lm_sensors, 7 cmake, 8 ninja, 9 libcprime, 10 libcsys, 11}: 12 13stdenv.mkDerivation (finalAttrs: { 14 pname = "corestats"; 15 version = "5.0.0"; 16 17 src = fetchFromGitLab { 18 owner = "cubocore/coreapps"; 19 repo = "corestats"; 20 tag = "v${finalAttrs.version}"; 21 hash = "sha256-0d03y3AYWxXh9DZrbPWqk34yq7iy5xUn/oMmJBu5GqQ="; 22 }; 23 24 nativeBuildInputs = [ 25 cmake 26 ninja 27 qt6.wrapQtAppsHook 28 ]; 29 30 buildInputs = [ 31 qt6.qtbase 32 lm_sensors 33 libcprime 34 libcsys 35 ]; 36 37 meta = { 38 description = "System resource viewer from the C Suite"; 39 mainProgram = "corestats"; 40 homepage = "https://gitlab.com/cubocore/coreapps/corestats"; 41 license = lib.licenses.gpl3Plus; 42 maintainers = with lib.maintainers; [ ]; 43 platforms = lib.platforms.linux; 44 }; 45})