Commit a7d7545a authored by Reylak's avatar Reylak
Browse files

sqlauncher: init at 0-unstable-2025-12-30

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Fecha:     Mon Jan 12 19:57:59 2026 -0300
#
# rebase interactivo en progreso; sobre 0263acd6
# Los últimos comandos realizados (2 comandos realizados):
#    reword c45129a26510 # added reylak in maintainer-list.nix;
#    reword f2fad0271fcb # Packaged SQLauncher;
# No quedan más comandos.
# Estás editando un commit mientras se aplica un rebase de la rama 'packaged-sqlauncher' sobre '0263acd6'.
#
# Cambios a ser confirmados:
#	nuevos archivos: pkgs/by-name/sq/sqlauncher/package.nix
#

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Fecha:     Mon Jan 12 19:57:59 2026 -0300
#
# rebase interactivo en progreso; sobre 0263acd6
# Los últimos comandos realizados (2 comandos realizados):
#    reword 28b693255e92 # added reylak in maintainer-list.nix;
#    reword 0575322e36b9 # Packaged SQLauncher;
# No quedan más comandos.
# Estás editando un commit mientras se aplica un rebase de la rama 'packaged-sqlauncher' sobre '0263acd6'.
#
# Cambios a ser confirmados:
#	nuevos archivos: pkgs/by-name/sq/sqlauncher/package.nix
#

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Fecha:     Mon Jan 12 19:57:59 2026 -0300
#
# rebase interactivo en progreso; sobre 0263acd6
# Los últimos comandos realizados (2 comandos realizados):
#    reword 233103902326 # added reylak in maintainer-list.nix;
#    reword 1d0b8023ea07 # Packaged SQLauncher;
# No quedan más comandos.
# Estás editando un commit mientras se aplica un rebase de la rama 'packaged-sqlauncher' sobre '0263acd6'.
#
# Cambios a ser confirmados:
#	nuevos archivos: pkgs/by-name/sq/sqlauncher/package.nix
#

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Fecha:     Mon Jan 12 19:57:59 2026 -0300
#
# rebase interactivo en progreso; sobre 0263acd6
# Los últimos comandos realizados (2 comandos realizados):
#    reword 8403d1e42334 # added reylak in maintainer-list.nix,
#    reword f9f0ddbe0197 # Packaged SQLauncher,
# No quedan más comandos.
# Estás editando un commit mientras se aplica un rebase de la rama 'packaged-sqlauncher' sobre '0263acd6'.
#
# Cambios a ser confirmados:
#	nuevos archivos: pkgs/by-name/sq/sqlauncher/package.nix
#

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Fecha:     Mon Jan 12 19:57:59 2026 -0300
#
# rebase interactivo en progreso; sobre 0263acd6
# Los últimos comandos realizados (2 comandos realizados):
#    reword 2e1d92d875dc # added reylak in maintainer-list.nix,
#    reword f30939ac77c0 # Packaged SQLauncher,
# No quedan más comandos.
# Estás editando un commit mientras se aplica un rebase de la rama 'packaged-sqlauncher' sobre '0263acd6'.
#
# Cambios a ser confirmados:
#	nuevos archivos: pkgs/by-name/sq/sqlauncher/package.nix
#

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Fecha:     Mon Jan 12 19:57:59 2026 -0300
#
# rebase interactivo en progreso; sobre 0263acd6
# Los últimos comandos realizados (2 comandos realizados):
#    reword 059760076457 # added reylak in maintainer-list.nix,
#    reword 6d06018f3065 # Packaged SQLauncher,
# No quedan más comandos.
# Estás editando un commit mientras se aplica un rebase de la rama 'packaged-sqlauncher' sobre '0263acd6'.
#
# Cambios a ser confirmados:
#	nuevos archivos: pkgs/by-name/sq/sqlauncher/package.nix
#

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Fecha:     Mon Jan 12 19:57:59 2026 -0300
#
# En la rama packaged-sqlauncher
# Cambios a ser confirmados:
#	nuevos archivos: pkgs/by-name/sq/sqlauncher/package.nix
#

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Fecha:     Mon Jan 12 19:57:59 2026 -0300
#
# En la rama packaged-sqlauncher
# Cambios a ser confirmados:
#	nuevos archivos: pkgs/by-name/sq/sqlauncher/package.nix
#

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Fecha:     Mon Jan 12 19:57:59 2026 -0300
#
# En la rama packaged-sqlauncher
# Cambios a ser confirmados:
#	nuevos archivos: pkgs/by-name/sq/sqlauncher/package.nix
#

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Fecha:     Mon Jan 12 19:57:59 2026 -0300
#
# En la rama packaged-sqlauncher
# Cambios a ser confirmados:
#	nuevos archivos: pkgs/by-name/sq/sqlauncher/package.nix
#

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Fecha:     Mon Jan 12 19:57:59 2026 -0300
#
# En la rama packaged-sqlauncher
# Cambios a ser confirmados:
#	nuevos archivos: package.nix
#

# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Fecha:     Mon Jan 12 19:57:59 2026 -0300
#
# En la rama packaged-sqlauncher
# Cambios a ser confirmados:
#	nuevos archivos: pkgs/by-name/sq/sqlauncher/package.nix
#
parent 6ffe207b
Loading
Loading
Loading
Loading
+48 −0
Original line number Diff line number Diff line
{
  stdenv,
  fetchFromGitea,
  cmake,
  ninja,
  qt6,
  lib,
}:

stdenv.mkDerivation {
  pname = "sqlauncher";
  version = "0.0.0-unstable-2025-12-30";

  src = fetchFromGitea {
    domain = "codeberg.org";
    owner = "ItsZariep";
    repo = "SQLauncher";
    rev = "4a82d0f5d1394f3ff850297939b62357f7f3ce0f";
    hash = "sha256-9yMdJn+aMJQrkreEWkaTw0ZAtmNtTw50n2pXu3d9m6w=";
  };

  nativeBuildInputs = [
    qt6.wrapQtAppsHook
    cmake
    ninja
  ];
  buildInputs = [
    qt6.qtbase
  ];

  installPhase = ''
    runHook preInstall

    mkdir -p $out/bin
    cp sqlauncher $out/bin

    runHook postInstall
  '';

  meta = with lib; {
    description = "Simple QT6 Program Launcher";
    homepage = "https://codeberg.org/ItsZariep/SQLauncher";
    license = licenses.gpl3Only;
    mainProgram = "sqlauncher";
    platforms = platforms.linux;
    maintainers = [ maintainers.reylak ];
  };
}