Unverified Commit 583394b8 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

libremines: init at 1.9.1 (#236291)

parent a193d6e9
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, cmake
, wrapQtAppsHook
, qtmultimedia
, qtwayland
}:

stdenv.mkDerivation rec {
  pname = "libremines";
  version = "1.9.1";

  src = fetchFromGitHub {
    owner = "Bollos00";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-CQE7fggRxFI/VatS7NMcIrC78tzqSwkkVC8gK9iKdVY=";
  };

  nativeBuildInputs = [ cmake wrapQtAppsHook ];

  buildInputs = [
    qtmultimedia
  ] ++ lib.optionals stdenv.isLinux [
    qtwayland
  ];

  cmakeFlags = [ "-DUSE_QT6=TRUE" ];

  meta = with lib; {
    description = "Qt based Minesweeper game";
    longDescription = ''
      A Free/Libre and Open Source Software Qt based Minesweeper game available for GNU/Linux, FreeBSD and Windows systems.
    '';
    homepage = "https://bollos00.github.io/LibreMines";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ aleksana ];
    platforms = platforms.unix;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -22220,6 +22220,8 @@ with pkgs;
        CoreServices;
  };
  libremines = qt6.callPackage ../games/libremines { };
  librelp = callPackage ../development/libraries/librelp { };
  librepo = callPackage ../tools/package-management/librepo {