Merge pull request #250126 from eclairevoyant/cutechess

cutechess: init at 1.3.1

authored by

Matthias Beyer and committed by
GitHub
8ad234e7 da0bf030

+47
+45
pkgs/games/cutechess/default.nix
··· 1 + { stdenv 2 + , fetchFromGitHub 3 + , cmake 4 + , pkg-config 5 + , wrapQtAppsHook 6 + , qtbase 7 + , lib 8 + }: 9 + 10 + stdenv.mkDerivation (finalAttrs: { 11 + pname = "cutechess"; 12 + version = "1.3.1"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "cutechess"; 16 + repo = "cutechess"; 17 + rev = "v${finalAttrs.version}"; 18 + hash = "sha256-P44Twbw2MGz+oTzPwMFCe73zPxAex6uYjSTtaUypfHw="; 19 + }; 20 + 21 + nativeBuildInputs = [ 22 + cmake 23 + pkg-config 24 + wrapQtAppsHook 25 + ]; 26 + buildInputs = [ 27 + qtbase 28 + ]; 29 + 30 + postInstall = '' 31 + install -Dm555 cutechess{,-cli} -t $out/bin/ 32 + install -Dm444 libcutechess.a -t $out/lib/ 33 + install -Dm444 $src/docs/cutechess-cli.6 -t $out/share/man/man6/ 34 + install -Dm444 $src/docs/cutechess-engines.json.5 -t $out/share/man/man5/ 35 + ''; 36 + 37 + meta = with lib; { 38 + description = "GUI, CLI, and library for playing chess"; 39 + homepage = "https://cutechess.com/"; 40 + license = licenses.gpl3Plus; 41 + maintainers = with maintainers; [ eclairevoyant ]; 42 + platforms = with platforms; (linux ++ windows); 43 + mainProgram = "cutechess"; 44 + }; 45 + })
+2
pkgs/top-level/all-packages.nix
··· 37485 37485 curseofwar = callPackage ../games/curseofwar { SDL = null; }; 37486 37486 curseofwar-sdl = callPackage ../games/curseofwar { ncurses = null; }; 37487 37487 37488 + cutechess = qt5.callPackage ../games/cutechess { }; 37489 + 37488 37490 cutemaze = qt6Packages.callPackage ../games/cutemaze { }; 37489 37491 37490 37492 cuyo = callPackage ../games/cuyo { };