push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
{
lib,
fetchFromGitHub,
buildGoModule,
}:
buildGoModule rec {
pname = "kt";
version = "13.1.0";
src = fetchFromGitHub {
owner = "fgeller";
repo = "kt";
rev = "v${version}";
sha256 = "sha256-1UGsiMMmAyIQZ62hNIi0uzyX2uNL03EWupIazjznqDc=";
};
vendorHash = "sha256-PeNpDro6G78KLN6B2CDhsTKamRTWQyxPJYWuuv6sUyw=";
ldflags = [
"-s"
"-w"
];
doCheck = false;
meta = with lib; {
description = "Kafka command line tool";
homepage = "https://github.com/fgeller/kt";
maintainers = with maintainers; [ utdemir ];
platforms = with platforms; unix;
license = licenses.mit;
mainProgram = "kt";
};
}

View File

@@ -0,0 +1,83 @@
{
buildGo124Module,
cmake,
fetchFromGitHub,
git,
go_1_24,
lib,
nlohmann_json,
stdenv,
kdePackages,
}:
let
version = "0.21.2";
src = fetchFromGitHub {
owner = "f-koehler";
repo = "KTailctl";
rev = "v${version}";
hash = "sha256-CP5ivqhYVCotsL6e9eV9L1OGr2W+vNHJOq8hMYj7g/o=";
};
goDeps =
(buildGo124Module {
pname = "ktailctl-go-wrapper";
inherit src version;
modRoot = "src/wrapper";
vendorHash = "sha256-uZydTufEpGKbX3T3Zm4WTU2ZZNhC6oHSb/sHPM4ekmQ=";
}).goModules;
in
stdenv.mkDerivation {
pname = "ktailctl";
inherit version src;
postPatch = ''
cp -r --reflink=auto ${goDeps} src/wrapper/vendor
'';
# needed for go build to work
preBuild = ''
export HOME=$TMPDIR
'';
cmakeFlags = [
# actually just disables Go vendoring updates
"-DKTAILCTL_FLATPAK_BUILD=ON"
];
nativeBuildInputs = with kdePackages; [
cmake
extra-cmake-modules
git
go_1_24
wrapQtAppsHook
];
buildInputs = with kdePackages; [
kconfig
kcoreaddons
kdbusaddons
kguiaddons
ki18n
kirigami
kirigami-addons
knotifications
kwindowsystem
nlohmann_json
qqc2-desktop-style
qtbase
qtdeclarative
qtsvg
qtwayland
];
meta = with lib; {
description = "GUI to monitor and manage Tailscale on your Linux desktop";
homepage = "https://github.com/f-koehler/KTailctl";
license = licenses.gpl3Only;
maintainers = with maintainers; [ k900 ];
mainProgram = "ktailctl";
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,40 @@
{
lib,
stdenv,
fetchurl,
cmake,
libsForQt5,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ktextaddons";
version = "1.3.2";
src = fetchurl {
url = "mirror://kde/stable/ktextaddons/ktextaddons-${finalAttrs.version}.tar.xz";
hash = "sha256-mB7Hh2Ljrg8D2GxDyHCa1s6CVmg5DDkhwafEqtSqUeM=";
};
nativeBuildInputs = [
cmake
]
++ (with libsForQt5; [
extra-cmake-modules
wrapQtAppsHook
]);
buildInputs = with libsForQt5; [
karchive
kconfigwidgets
kcoreaddons
ki18n
kxmlgui
qtkeychain
];
meta = {
description = "Various text handling addons for KDE applications";
homepage = "https://invent.kde.org/libraries/ktextaddons/";
license = lib.licenses.gpl2Plus;
maintainers = [ ];
};
})

View File

@@ -0,0 +1,47 @@
{
lib,
fetchFromGitHub,
jre_headless,
makeWrapper,
maven,
}:
maven.buildMavenPackage rec {
pname = "ktfmt";
version = "0.51";
src = fetchFromGitHub {
owner = "facebook";
repo = "ktfmt";
tag = "v${version}";
hash = "sha256-TIYV/V6vtGTTSLFf9dcKo8Ezx61e7Vvz3vQvbh0Kj/Y=";
};
patches = [ ./pin-default-maven-plugin-versions.patch ];
mvnHash = "sha256-f/Uwc0ynROEKl2+zsgqj5ctRu1QcNblF5suU/0+fvKw=";
mvnParameters = "-Dproject.build.outputTimestamp=1980-01-01T00:00:02Z";
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
install -Dm644 core/target/ktfmt-*-jar-with-dependencies.jar $out/share/ktfmt/ktfmt.jar
makeWrapper ${jre_headless}/bin/java $out/bin/ktfmt \
--add-flags "-jar $out/share/ktfmt/ktfmt.jar"
runHook postInstall
'';
meta = with lib; {
description = "Program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions";
homepage = "https://github.com/facebook/ktfmt";
license = licenses.asl20;
mainProgram = "ktfmt";
maintainers = with maintainers; [ ghostbuster91 ];
inherit (jre_headless.meta) platforms;
};
}

View File

@@ -0,0 +1,60 @@
diff --git a/core/pom.xml b/core/pom.xml
index 267689e..6b6e04d 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -34,6 +34,55 @@
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
<testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>3.4.1</version>
+ <executions>
+ <execution>
+ <id>require-all-plugin-versions-to-be-set</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requirePluginVersions />
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>3.2.5</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>3.3.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>3.1.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>4.0.0-M13</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>3.3.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>3.1.1</version>
+ </plugin>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>

View File

@@ -0,0 +1,56 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
kdePackages,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ktimetracker";
version = "6.0.0";
src = fetchFromGitHub {
owner = "KDE";
repo = "ktimetracker";
tag = "v${finalAttrs.version}";
hash = "sha256-SQjqNzmmt0AEQvGW4Vz5GldQcp7Q9rZvGG7mGugRwd8=";
};
nativeBuildInputs = [
cmake
pkg-config
]
++ (with kdePackages; [
extra-cmake-modules
wrapQtAppsHook
]);
buildInputs = with kdePackages; [
kconfig
kconfigwidgets
kdbusaddons
kdoctools
ki18n
kidletime
kjobwidgets
kio
knotifications
kwindowsystem
kxmlgui
ktextwidgets
kcalendarcore
qt5compat
kstatusnotifieritem
kcmutils
];
meta = {
description = "Todo management and time tracking application";
mainProgram = "ktimetracker";
license = lib.licenses.gpl2;
homepage = "https://userbase.kde.org/KTimeTracker";
maintainers = [ ];
};
})

View File

@@ -0,0 +1,49 @@
{
lib,
stdenv,
fetchurl,
makeWrapper,
jre_headless,
gnused,
}:
stdenv.mkDerivation rec {
pname = "ktlint";
version = "1.7.1";
src = fetchurl {
url = "https://github.com/pinterest/ktlint/releases/download/${version}/ktlint";
sha256 = "sha256-tZagXwk2ThmXtkQVJoOvEv71iUTzrPq994Bx9aSQ65g=";
};
nativeBuildInputs = [ makeWrapper ];
dontUnpack = true;
installPhase = ''
install -Dm755 $src $out/bin/ktlint
'';
postFixup = ''
wrapProgram $out/bin/ktlint --prefix PATH : "${
lib.makeBinPath [
jre_headless
gnused
]
}"
'';
meta = with lib; {
description = "Anti-bikeshedding Kotlin linter with built-in formatter";
homepage = "https://ktlint.github.io/";
license = licenses.mit;
platforms = jre_headless.meta.platforms;
changelog = "https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md";
maintainers = with maintainers; [
tadfisher
SubhrajyotiSen
];
sourceProvenance = with sourceTypes; [ binaryBytecode ];
mainProgram = "ktlint";
};
}

View File

@@ -0,0 +1,61 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
gnutls,
keyutils,
glib,
libnl,
systemd,
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "ktls-utils";
version = "1.2.1";
src = fetchFromGitHub {
owner = "oracle";
repo = "ktls-utils";
rev = "ktls-utils-${version}";
hash = "sha256-aCn9qBD1bh7VFSSrC1uR/XPfFI+YC/gylCr7tSs56VQ=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
gnutls
keyutils
glib
libnl
];
outputs = [
"out"
"man"
];
configureFlags = lib.optional withSystemd [ "--with-systemd" ];
makeFlags = lib.optional withSystemd [ "unitdir=$(out)/lib/systemd/system" ];
doCheck = true;
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "TLS handshake utilities for in-kernel TLS consumers";
homepage = "https://github.com/oracle/ktls-utils";
changelog = "https://github.com/oracle/ktls-utils/blob/${src.rev}/NEWS";
license = licenses.gpl2Only;
maintainers = [ ];
mainProgram = "ktls-utils";
platforms = platforms.linux;
};
}

View File

@@ -0,0 +1,42 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "ktop";
version = "0.4.1";
excludedPackages = [ ".ci" ];
src = fetchFromGitHub {
owner = "vladimirvivien";
repo = "ktop";
rev = "v${version}";
hash = "sha256-5iFFYTZq5DcMYVnW90MKVDchVXzjXOPd5BeYcrqL9pQ=";
};
vendorHash = "sha256-qNrjyMMsFE2FmIJc46fYq08b3XFFZeLlspth5anjMm8=";
ldflags = [
"-s"
"-w"
"-X github.com/vladimirvivien/ktop/buildinfo.Version=v${version}"
];
postInstall = ''
rm $out/bin/hack
'';
doCheck = false;
meta = with lib; {
description = "Top-like tool for your Kubernetes cluster";
mainProgram = "ktop";
longDescription = ''
Following the tradition of Unix/Linux top tools, ktop is a tool that displays useful metrics information about nodes, pods, and other workload resources running in a Kubernetes cluster.
'';
homepage = "https://github.com/vladimirvivien/ktop/";
license = licenses.asl20;
maintainers = with maintainers; [ qjoly ];
};
}

View File

@@ -0,0 +1,36 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "ktor-cli";
version = "0.5.0";
src = fetchFromGitHub {
owner = "ktorio";
repo = "ktor-cli";
tag = version;
hash = "sha256-DZEEaTz55vIBU8Byl51cEWgXu2Wjmctz/9XBAKX8VKY=";
};
subPackages = "cmd/ktor";
vendorHash = "sha256-Cv/Jq4dWVzotfCCclrwufmC0I2pgPe/YHKWqcLzjt2E=";
ldflags = [
"-s"
"-w"
"-X main.Version=${version}"
];
meta = {
description = "Command-line tool for creating Ktor projects";
homepage = "https://github.com/ktorio/ktor-cli";
changelog = "https://github.com/ktorio/ktor-cli/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ nartsiss ];
mainProgram = "ktor";
};
}

View File

@@ -0,0 +1,45 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
let
version = "1.6.1";
in
buildGoModule {
pname = "ktunnel";
inherit version;
src = fetchFromGitHub {
owner = "omrikiei";
repo = "ktunnel";
rev = "v${version}";
sha256 = "sha256-rcUCIUIyBCSuMly7y0GUNQCdJUgsj7Oi6Hpz23uXoJw=";
};
ldflags = [
"-s"
"-w"
];
vendorHash = "sha256-Q8t/NWGeUB1IpxdsxvyvbYh/adtcA4p+7bcCy9YFjsw=";
preCheck = "export HOME=$(mktemp -d)";
# # TODO investigate why some tests are failing
doCheck = false;
installCheckPhase = ''
runHook preInstallCheck
"$out/bin/ktunnel" --version
runHook postInstallCheck
'';
meta = with lib; {
description = "Cli that exposes your local resources to kubernetes";
mainProgram = "ktunnel";
homepage = "https://github.com/omrikiei/ktunnel";
license = licenses.asl20;
maintainers = with maintainers; [ happysalada ];
};
}

View File

@@ -0,0 +1,66 @@
{
cmake,
doxygen,
fetchFromGitHub,
getopt,
ninja,
lib,
pkg-config,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "ktx-tools";
version = "4.4.1";
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "KTX-Software";
rev = "v${version}";
hash = "sha256-dAb1ze2YpgQYu+fNONWLCG8/ckj0SeedxIUNmlSh5J0=";
};
nativeBuildInputs = [
cmake
doxygen
getopt
ninja
pkg-config
];
cmakeBuildType = "RelWithDebInfo";
cmakeFlags = [ "-DKTX_FEATURE_DOC=ON" ];
postPatch = ''
patchShebangs .
'';
meta = with lib; {
description = "KTX (Khronos Texture) Library and Tools";
longDescription = ''
KTX (Khronos Texture) is a lightweight container for textures for OpenGL®,
Vulkan® and other GPU APIs. KTX files contain all the parameters needed
for texture loading. A single file can contain anything from a simple
base-level 2D texture through to a cubemap array texture with mipmaps.
This software package contains:
- libktx: a small library of functions for writing and reading KTX
files, and instantiating OpenGL®, OpenGL ES and Vulkan® textures
from them.
- ktx2check: a tool for validating KTX Version 2 format files.
- ktx2ktx2: a tool for converting a KTX Version 1 file to a KTX Version
2 file.
- ktxinfo: a tool to display information about a KTX file in human
readable form.
- ktxsc: a tool to supercompress a KTX Version 2 file that contains
uncompressed images.
- toktx: a tool to create KTX files from PNG, Netpbm or JPEG format
images. It supports mipmap generation, encoding to Basis Universal
formats and Zstd supercompression.
'';
homepage = "https://github.com/KhronosGroup/KTX-Software";
license = licenses.asl20;
maintainers = with maintainers; [ bonsairobo ];
platforms = platforms.linux;
};
}

View File

@@ -0,0 +1,42 @@
{
rustPlatform,
lib,
fetchFromGitHub,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage rec {
pname = "kty";
version = "0.3.1";
src = fetchFromGitHub {
owner = "grampelberg";
repo = "kty";
tag = "v${version}";
hash = "sha256-E9PqWDBKYJFYOUNyjiK+AM2WULMiwupFWTOQlBH+6d4=";
};
nativeBuildInputs = [
pkg-config
];
env = {
OPENSSL_NO_VENDOR = 1;
};
buildInputs = [
openssl
];
cargoHash = "sha256-nJ+nof2YhyLrNuLVy69kYj5tw+aG4IJm6nVxHkczbko=";
meta = {
homepage = "https://kty.dev/";
changelog = "https://github.com/grampelberg/kty/releases/tag/v${version}";
description = "Terminal for Kubernetes";
maintainers = with lib.maintainers; [ bot-wxt1221 ];
platforms = lib.platforms.unix;
mainProgram = "kty";
};
}