depot/third_party/nixpkgs/pkgs/by-name/pr/project-lemonlime/package.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

49 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
qt6,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "project-lemonlime";
version = "0.3.5";
src = fetchFromGitHub {
owner = "Project-LemonLime";
repo = "Project_LemonLime";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-h/aE1+ED+RkXqFcsb23rboA+Dd7kiom3XiIRqb4oYkQ=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
qt6.wrapQtAppsHook
];
cmakeFlags = [
(lib.cmakeBool "LEMON_QT6" true)
];
buildInputs = [
qt6.qtbase
qt6.qttools
qt6.qtwayland
];
meta = {
description = "Lightweight evaluation system based on Lemon + LemonPlus for OI competitions";
homepage = "https://github.com/Project-LemonLime/Project_LemonLime";
changelog = "https://github.com/Project-LemonLime/Project_LemonLime/releases/tag/${finalAttrs.version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [
sigmanificient
bot-wxt1221
];
platforms = lib.platforms.unix;
mainProgram = "lemon";
};
})