21 stdenv.mkDerivation (finalAttrs: {
24 src = fetchFromGitHub {
27 rev = "${finalAttrs.version}";
28 hash = "sha256-qus/RjwdAl9SuDXfLVKTPImqrvPF3xSDVlbXYLM3JNE=";
52 (lib.cmakeBool "CMAKE_VERBOSE_MAKEFILE" true)
53 (lib.cmakeFeature "OpenGL_GL_PREFERENCE" "GLVND")
54 (lib.cmakeFeature "CMAKE_INSTALL_DATAROOTDIR" "${placeholder "out"}/share")
57 doInstallCheck = true;
60 stat "''${!outputBin}/bin/${finalAttrs.meta.mainProgram}"
64 homepage = "https://github.com/dreamchess/dreamchess";
65 description = "OpenGL Chess Game";
66 license = lib.licenses.gpl3Only;
67 maintainers = with lib.maintainers; [ spk ];
68 platforms = lib.platforms.linux;
69 mainProgram = "dreamchess";