nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 fetchFromCodeberg,
4 cmake,
5 ninja,
6 qt6,
7 lib,
8}:
9
10stdenv.mkDerivation {
11 pname = "sqlauncher";
12 version = "0.0.0-unstable-2025-12-30";
13
14 src = fetchFromCodeberg {
15 owner = "ItsZariep";
16 repo = "SQLauncher";
17 rev = "4a82d0f5d1394f3ff850297939b62357f7f3ce0f";
18 hash = "sha256-9yMdJn+aMJQrkreEWkaTw0ZAtmNtTw50n2pXu3d9m6w=";
19 };
20
21 nativeBuildInputs = [
22 qt6.wrapQtAppsHook
23 cmake
24 ninja
25 ];
26 buildInputs = [
27 qt6.qtbase
28 ];
29
30 installPhase = ''
31 runHook preInstall
32
33 mkdir -p $out/bin
34 cp sqlauncher $out/bin
35
36 runHook postInstall
37 '';
38
39 meta = with lib; {
40 description = "Simple QT6 Program Launcher";
41 homepage = "https://codeberg.org/ItsZariep/SQLauncher";
42 license = licenses.gpl3Only;
43 mainProgram = "sqlauncher";
44 platforms = platforms.linux;
45 maintainers = [ maintainers.reylak ];
46 };
47}