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,55 @@
{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
getent,
installShellFiles,
}:
buildGoModule (finalAttrs: {
pname = "kn";
version = "1.19.5";
src = fetchFromGitHub {
owner = "knative";
repo = "client";
tag = "knative-v${finalAttrs.version}";
hash = "sha256-CgKwZCdjNN27wP79vzzTkGdk56owUDBMN79rk/ckpaI=";
};
vendorHash = "sha256-MYIUOIdoYzHK7HBTdQzu7Jp17MYMJUnoK64jPEmIR+E=";
env.GOWORK = "off";
subPackages = [ "cmd/kn" ];
nativeBuildInputs = [ installShellFiles ];
ldflags = [ "-X knative.dev/client/pkg/commands/version.Version=v${finalAttrs.version}" ];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd kn \
--bash <($out/bin/kn completion bash) \
--zsh <($out/bin/kn completion zsh)
'';
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
PATH=$PATH:${getent}/bin $out/bin/kn version | grep ${finalAttrs.version} > /dev/null
runHook postInstallCheck
'';
meta = {
description = "Create Knative resources interactively from the command line or from within scripts";
mainProgram = "kn";
homepage = "https://github.com/knative/client";
changelog = "https://github.com/knative/client/releases/tag/v${finalAttrs.version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ bryanasdev000 ];
};
})

View File

@@ -0,0 +1,36 @@
{
lib,
fetchFromGitHub,
stdenvNoCC,
}:
stdenvNoCC.mkDerivation {
pname = "knewave";
version = "2012-07-30";
src = fetchFromGitHub {
owner = "theleagueof";
repo = "knewave";
rev = "f335d5ff1f12e4acf97d4208e1c37b4d386e57fb";
hash = "sha256-SaJU2GlxU7V3iJNQzFKg1YugaPsiJuSZpC8NCqtWyz0=";
};
installPhase = ''
runHook preInstall
install -D -m444 -t $out/share/fonts/truetype $src/*.ttf
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
runHook postInstall
'';
meta = {
description = "Bold, painted face for the rocker within";
longDescription = ''
Knewave is bold, painted face. Get it? Git it.
'';
homepage = "https://www.theleagueofmoveabletype.com/knewave";
license = lib.licenses.ofl;
maintainers = with lib.maintainers; [ minijackson ];
};
}

View File

@@ -0,0 +1,39 @@
{
lib,
stdenv,
fetchFromGitHub,
asciidoc,
cmake,
libxslt,
}:
stdenv.mkDerivation rec {
pname = "genkfs";
version = "1.3.2";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "genkfs";
rev = version;
sha256 = "0f50idd2bb73b05qjmwlirjnhr1bp43zhrgy6z949ab9a7hgaydp";
};
strictDeps = true;
nativeBuildInputs = [
asciidoc
libxslt.bin
cmake
];
hardeningDisable = [ "format" ];
meta = with lib; {
homepage = "https://knightos.org/";
description = "Utility to write a KFS filesystem into a ROM file";
mainProgram = "genkfs";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
platforms = platforms.all;
};
}

View File

@@ -0,0 +1,41 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
bison,
flex,
boost,
}:
stdenv.mkDerivation rec {
pname = "kcc";
version = "4.0.4";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "kcc";
rev = version;
sha256 = "13sbpv8ynq8sjackv93jqxymk0bsy76c5fc0v29wz97v53q3izjp";
};
strictDeps = true;
nativeBuildInputs = [
bison
cmake
flex
];
buildInputs = [ boost ];
meta = with lib; {
homepage = "https://github.com/KnightOS/kcc";
description = "KnightOS C compiler";
mainProgram = "kcc";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ siraben ];
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,39 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
libxslt,
asciidoc,
}:
stdenv.mkDerivation rec {
pname = "kimg";
version = "0.4.0";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "kimg";
rev = version;
sha256 = "040782k3rh2a5mhbfgr9gnbfis0wgxvi27vhfn7l35vrr12sw1l3";
};
strictDeps = true;
nativeBuildInputs = [
asciidoc
cmake
libxslt.bin
];
hardeningDisable = [ "format" ];
meta = with lib; {
homepage = "https://knightos.org/";
description = "Converts image formats supported by stb_image to the KnightOS image format";
mainProgram = "kimg";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
platforms = platforms.all;
};
}

View File

@@ -0,0 +1,40 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
asciidoc,
libxslt,
}:
stdenv.mkDerivation rec {
pname = "kpack";
version = "1.1.1";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "kpack";
rev = version;
sha256 = "1l6bm2j45946i80qgwhrixg9sckazwb5x4051s76d3mapq9bara8";
};
strictDeps = true;
nativeBuildInputs = [
asciidoc
cmake
libxslt.bin
];
hardeningDisable = [ "fortify" ];
meta = with lib; {
homepage = "https://knightos.org/";
description = "Tool to create or extract KnightOS packages";
mainProgram = "kpack";
license = licenses.lgpl2Only;
maintainers = with maintainers; [ siraben ];
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,40 @@
{
lib,
stdenv,
fetchFromGitHub,
libxslt,
asciidoc,
}:
stdenv.mkDerivation rec {
pname = "mkrom";
version = "1.0.4";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "mkrom";
rev = version;
sha256 = "sha256-YFrh0tOGiM90uvU9ZWopW1+9buHDQtetuOtPDSYYaXw=";
};
strictDeps = true;
nativeBuildInputs = [
asciidoc
libxslt.bin
];
installFlags = [ "DESTDIR=$(out)" ];
installTargets = [
"install"
"install_man"
];
meta = with lib; {
homepage = "https://knightos.org/";
description = "Packages KnightOS distribution files into a ROM";
mainProgram = "mkrom";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
platforms = platforms.all;
};
}

View File

@@ -0,0 +1,39 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
libxslt,
asciidoc,
}:
stdenv.mkDerivation rec {
pname = "mktiupgrade";
version = "1.1.6";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "mktiupgrade";
rev = version;
sha256 = "15y3rxvv7ipgc80wrvrpksxzdyqr21ywysc9hg6s7d3w8lqdq8dm";
};
strictDeps = true;
nativeBuildInputs = [
asciidoc
cmake
libxslt.bin
];
hardeningDisable = [ "format" ];
meta = with lib; {
homepage = "https://knightos.org/";
description = "Makes TI calculator upgrade files from ROM dumps";
mainProgram = "mktiupgrade";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,40 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
asciidoc,
libxslt,
}:
stdenv.mkDerivation rec {
pname = "patchrom";
version = "1.1.3";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "patchrom";
rev = version;
sha256 = "0yc4q7n3k7k6rx3cxq5ddd5r0la8gw1287a74kql6gwkxjq0jmcv";
};
strictDeps = true;
nativeBuildInputs = [
asciidoc
cmake
libxslt.bin
];
hardeningDisable = [ "format" ];
meta = with lib; {
homepage = "https://knightos.org/";
description = "Patches jumptables into TI calculator ROM files and generates an include file";
mainProgram = "patchrom";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,58 @@
{
fetchFromGitHub,
lib,
stdenv,
cmake,
buildPackages,
asciidoc,
libxslt,
}:
let
isCrossCompiling = stdenv.hostPlatform != stdenv.buildPlatform;
in
stdenv.mkDerivation rec {
pname = "scas";
version = "0.5.5";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "scas";
rev = version;
sha256 = "sha256-JGQE+orVDKKJsTt8sIjPX+3yhpZkujISroQ6g19+MzU=";
};
cmakeFlags = [ "-DSCAS_LIBRARY=1" ];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace "TARGETS scas scdump scwrap" "TARGETS scas scdump scwrap generate_tables"
'';
strictDeps = true;
depsBuildBuild = lib.optionals isCrossCompiling [ buildPackages.knightos-scas ];
nativeBuildInputs = [
asciidoc
libxslt.bin
cmake
];
env.NIX_CFLAGS_COMPILE = toString (
lib.optionals stdenv.cc.isClang [
"-Wno-error=implicit-function-declaration"
]
);
postInstall = ''
cd ..
make DESTDIR=$out install_man
'';
meta = with lib; {
homepage = "https://knightos.org/";
description = "Assembler and linker for the Z80";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
platforms = platforms.all;
};
}

View File

@@ -0,0 +1,39 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
knightos-scas,
readline,
SDL2,
}:
stdenv.mkDerivation rec {
pname = "z80e";
version = "0.5.3";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "z80e";
rev = version;
sha256 = "sha256-FQMYHxKxHEP+x98JbGyjaM0OL8QK/p3epsAWvQkv6bc=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
readline
SDL2
knightos-scas
];
cmakeFlags = [ "-Denable-sdl=YES" ];
meta = with lib; {
homepage = "https://knightos.org/";
description = "Z80 calculator emulator and debugger";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,38 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "knit";
version = "1.1.1";
src = fetchFromGitHub {
owner = "zyedidia";
repo = "knit";
rev = "v${version}";
hash = "sha256-zxwEJnQZpOEJhV7jx2ClS3XmMfGBiq8AHR26TOIBJVw=";
};
vendorHash = "sha256-+IZFydwchHIMIvYmIgZ0uJKjW4aVBFuj3SQk58I0z/g=";
subPackages = [
"cmd/knit"
];
ldflags = [
"-s"
"-w"
"-X github.com/zyedidia/knit/info.Version=${version}"
];
meta = {
description = "Simple and flexible build tool using Lua, similar to make/mk";
mainProgram = "knit";
homepage = "https://github.com/zyedidia/knit";
changelog = "https://github.com/zyedidia/knit/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ DrSensor ];
};
}

View File

@@ -0,0 +1,52 @@
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "knockpy";
version = "7.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "guelfoweb";
repo = "knock";
tag = version;
hash = "sha256-tJNosM8zGzH0uMvVawoBl2d+8xkVzTIjycnHHjnMzSo=";
};
pythonRelaxDeps = [
"beautifulsoup4"
"dnspython"
"pyopenssl"
"requests"
"tqdm"
];
build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
beautifulsoup4
dnspython
pyopenssl
requests
tqdm
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "knock" ];
meta = {
description = "Tool to scan subdomains";
homepage = "https://github.com/guelfoweb/knock";
changelog = "https://github.com/guelfoweb/knock/releases/tag/${version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "knockpy";
};
}

257
pkgs/by-name/kn/knossosnet/deps.json generated Normal file
View File

@@ -0,0 +1,257 @@
[
{
"pname": "AnimatedImage.Avalonia",
"version": "1.0.7",
"hash": "sha256-E3wguYRmXYbdP7qcVER5IdxvB5S7rbGoZD7+jwrk5zM="
},
{
"pname": "Avalonia",
"version": "11.2.3",
"hash": "sha256-NUoyXJkIsgbkcKFVb10VRafM4ViHs801c/7vhu3ssUY="
},
{
"pname": "Avalonia.Angle.Windows.Natives",
"version": "2.1.22045.20230930",
"hash": "sha256-RxPcWUT3b/+R3Tu5E5ftpr5ppCLZrhm+OTsi0SwW3pc="
},
{
"pname": "Avalonia.BuildServices",
"version": "0.0.29",
"hash": "sha256-WPHRMNowRnYSCh88DWNBCltWsLPyOfzXGzBqLYE7tRY="
},
{
"pname": "Avalonia.Controls.ColorPicker",
"version": "11.2.3",
"hash": "sha256-z3ZHxVSOoOjqq+5G71jnGN1Y0i3YpAkox7cj3lNr6kg="
},
{
"pname": "Avalonia.Controls.DataGrid",
"version": "11.2.3",
"hash": "sha256-jIJvuYN0iym/WeOC0C7z5xj5kCZSXGoeLQ/q5qQfewM="
},
{
"pname": "Avalonia.Desktop",
"version": "11.2.3",
"hash": "sha256-srtZi+kDbhRtMl33l91zssBWETU5oHodKbbWyfEsb/I="
},
{
"pname": "Avalonia.Diagnostics",
"version": "11.2.3",
"hash": "sha256-DIGkaBff+C3BLwedw5xteR5lfzb6ecxiLt12eJVgLQc="
},
{
"pname": "Avalonia.FreeDesktop",
"version": "11.2.3",
"hash": "sha256-3sNemBmZE06w2ul87T5HrEeHUxXMOa9MfQhpI4AoxDY="
},
{
"pname": "Avalonia.HtmlRenderer",
"version": "11.0.0",
"hash": "sha256-DBD113eQJNHeEgFmx/tVRSnHxhGBQIKWVKxr1QRilr4="
},
{
"pname": "Avalonia.Markup.Xaml.Loader",
"version": "11.2.3",
"hash": "sha256-odkZZXqTbL+h9aPSQiO+haFF89xgFg4XKsvzVWxLjVE="
},
{
"pname": "Avalonia.Native",
"version": "11.2.3",
"hash": "sha256-2Gp98NGWcrILqF+P5PDMPRdsMby/lZiT3eWAUskFim8="
},
{
"pname": "Avalonia.Remote.Protocol",
"version": "11.2.3",
"hash": "sha256-dSeu7rnTD9rIvlyro2iFS52oi0vvfeaGV3kDm90BkKw="
},
{
"pname": "Avalonia.Skia",
"version": "11.2.3",
"hash": "sha256-QBp8wTA92hGwbmNSVL4gsjrqA9CfwDPgdTiOEqcogGA="
},
{
"pname": "Avalonia.Themes.Fluent",
"version": "11.2.3",
"hash": "sha256-DRl+267mUtJDUJpreUj6BxDLGGYGkEEo5vDGtGguoC8="
},
{
"pname": "Avalonia.Themes.Simple",
"version": "11.2.3",
"hash": "sha256-UF15yTDzHmqd33siH3TJxmxaonA51dzga+hmCUahn1k="
},
{
"pname": "Avalonia.Win32",
"version": "11.2.3",
"hash": "sha256-xKFKObvqdJaQjphEktRJvzmAoDEsKg3WqlEG31V3qLE="
},
{
"pname": "Avalonia.X11",
"version": "11.2.3",
"hash": "sha256-SD4dmpKx4l8YOyUnrA0fnf2Bb+tHSNyARh7GAtHyg60="
},
{
"pname": "CommunityToolkit.Mvvm",
"version": "8.4.0",
"hash": "sha256-a0D550q+ffreU9Z+kQPdzJYPNaj1UjgyPofLzUg02ZI="
},
{
"pname": "HarfBuzzSharp",
"version": "7.3.0.3",
"hash": "sha256-1vDIcG1aVwVABOfzV09eAAbZLFJqibip9LaIx5k+JxM="
},
{
"pname": "HarfBuzzSharp.NativeAssets.Linux",
"version": "7.3.0.3",
"hash": "sha256-HW5r16wdlgDMbE/IfE5AQGDVFJ6TS6oipldfMztx+LM="
},
{
"pname": "HarfBuzzSharp.NativeAssets.macOS",
"version": "7.3.0.3",
"hash": "sha256-UpAVfRIYY8Wh8xD4wFjrXHiJcvlBLuc2Xdm15RwQ76w="
},
{
"pname": "HarfBuzzSharp.NativeAssets.WebAssembly",
"version": "7.3.0.3",
"hash": "sha256-jHrU70rOADAcsVfVfozU33t/5B5Tk0CurRTf4fVQe3I="
},
{
"pname": "HarfBuzzSharp.NativeAssets.Win32",
"version": "7.3.0.3",
"hash": "sha256-v/PeEfleJcx9tsEQAo5+7Q0XPNgBqiSLNnB2nnAGp+I="
},
{
"pname": "ini-parser-netstandard",
"version": "2.5.2",
"hash": "sha256-idb2hvuDlxl83x0yttGHnTgEQmwLLdUT7QfMeGDXVJE="
},
{
"pname": "MicroCom.Runtime",
"version": "0.11.0",
"hash": "sha256-VdwpP5fsclvNqJuppaOvwEwv2ofnAI5ZSz2V+UEdLF0="
},
{
"pname": "Microsoft.Extensions.Configuration",
"version": "8.0.0",
"hash": "sha256-9BPsASlxrV8ilmMCjdb3TiUcm5vFZxkBnAI/fNBSEyA="
},
{
"pname": "Microsoft.Extensions.Configuration.Abstractions",
"version": "8.0.0",
"hash": "sha256-4eBpDkf7MJozTZnOwQvwcfgRKQGcNXe0K/kF+h5Rl8o="
},
{
"pname": "Microsoft.Extensions.Configuration.Binder",
"version": "8.0.0",
"hash": "sha256-GanfInGzzoN2bKeNwON8/Hnamr6l7RTpYLA49CNXD9Q="
},
{
"pname": "Microsoft.Extensions.DependencyInjection",
"version": "8.0.1",
"hash": "sha256-O9g0jWS+jfGoT3yqKwZYJGL+jGSIeSbwmvomKDC3hTU="
},
{
"pname": "Microsoft.Extensions.DependencyInjection.Abstractions",
"version": "8.0.2",
"hash": "sha256-UfLfEQAkXxDaVPC7foE/J3FVEXd31Pu6uQIhTic3JgY="
},
{
"pname": "Microsoft.Extensions.Diagnostics",
"version": "8.0.1",
"hash": "sha256-CraHNCaVlMiYx6ff9afT6U7RC/MoOCXM3pn2KrXkiLc="
},
{
"pname": "Microsoft.Extensions.Diagnostics.Abstractions",
"version": "8.0.1",
"hash": "sha256-d5DVXhA8qJFY9YbhZjsTqs5w5kDuxF5v+GD/WZR1QL0="
},
{
"pname": "Microsoft.Extensions.Http",
"version": "8.0.1",
"hash": "sha256-ScPwhBvD3Jd4S0E7JQ18+DqY3PtQvdFLbkohUBbFd3o="
},
{
"pname": "Microsoft.Extensions.Logging",
"version": "8.0.1",
"hash": "sha256-vkfVw4tQEg86Xg18v6QO0Qb4Ysz0Njx57d1XcNuj6IU="
},
{
"pname": "Microsoft.Extensions.Logging.Abstractions",
"version": "8.0.2",
"hash": "sha256-cHpe8X2BgYa5DzulZfq24rg8O2K5Lmq2OiLhoyAVgJc="
},
{
"pname": "Microsoft.Extensions.Options",
"version": "8.0.2",
"hash": "sha256-AjcldddddtN/9aH9pg7ClEZycWtFHLi9IPe1GGhNQys="
},
{
"pname": "Microsoft.Extensions.Options.ConfigurationExtensions",
"version": "8.0.0",
"hash": "sha256-A5Bbzw1kiNkgirk5x8kyxwg9lLTcSngojeD+ocpG1RI="
},
{
"pname": "Microsoft.Extensions.Primitives",
"version": "8.0.0",
"hash": "sha256-FU8qj3DR8bDdc1c+WeGZx/PCZeqqndweZM9epcpXjSo="
},
{
"pname": "ObservableCollections",
"version": "3.3.3",
"hash": "sha256-HH/xNIVQpvlWONL8RChuaeW2l6zC47Xx/JNSE5/JRR4="
},
{
"pname": "SharpCompress",
"version": "0.39.0",
"hash": "sha256-Me88MMn5NUiw5bugFKCKFRnFSXQKIFZJ+k97Ex6jgZE="
},
{
"pname": "SkiaSharp",
"version": "2.88.9",
"hash": "sha256-jZ/4nVXYJtrz9SBf6sYc/s0FxS7ReIYM4kMkrhZS+24="
},
{
"pname": "SkiaSharp.NativeAssets.Linux",
"version": "2.88.9",
"hash": "sha256-mQ/oBaqRR71WfS66mJCvcc3uKW7CNEHoPN2JilDbw/A="
},
{
"pname": "SkiaSharp.NativeAssets.macOS",
"version": "2.88.9",
"hash": "sha256-qvGuAmjXGjGKMzOPBvP9VWRVOICSGb7aNVejU0lLe/g="
},
{
"pname": "SkiaSharp.NativeAssets.WebAssembly",
"version": "2.88.9",
"hash": "sha256-vgFL4Pdy3O1RKBp+T9N3W4nkH9yurZ0suo8u3gPmmhY="
},
{
"pname": "SkiaSharp.NativeAssets.Win32",
"version": "2.88.9",
"hash": "sha256-kP5XM5GgwHGfNJfe4T2yO5NIZtiF71Ddp0pd1vG5V/4="
},
{
"pname": "System.Buffers",
"version": "4.6.0",
"hash": "sha256-c2QlgFB16IlfBms5YLsTCFQ/QeKoS6ph1a9mdRkq/Jc="
},
{
"pname": "System.IO.Pipelines",
"version": "8.0.0",
"hash": "sha256-LdpB1s4vQzsOODaxiKstLks57X9DTD5D6cPx8DE1wwE="
},
{
"pname": "Tmds.DBus.Protocol",
"version": "0.20.0",
"hash": "sha256-CRW/tkgsuBiBJfRwou12ozRQsWhHDooeP88E5wWpWJw="
},
{
"pname": "WindowsShortcutFactory",
"version": "1.2.0",
"hash": "sha256-TScGgF++Av8QRSanZ3bIPhYaUEv6RQyAET3NvbKDxWQ="
},
{
"pname": "ZstdSharp.Port",
"version": "0.8.4",
"hash": "sha256-4bFUNK++6yUOnY7bZQiibClSJUQjH0uIiUbQLBtPWbo="
}
]

View File

@@ -0,0 +1,39 @@
diff --git a/IonKiwi.lz4/IonKiwi.lz4.csproj b/IonKiwi.lz4/IonKiwi.lz4.csproj
index 312984f..804be5c 100644
--- a/IonKiwi.lz4/IonKiwi.lz4.csproj
+++ b/IonKiwi.lz4/IonKiwi.lz4.csproj
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFrameworks>net60</TargetFrameworks>
+ <TargetFramework>net8.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PackageId>IonKiwi.lz4.managed</PackageId>
<Version>1.0.7</Version>
diff --git a/Knossos.NET/Knossos.NET.csproj b/Knossos.NET/Knossos.NET.csproj
index 501faaa..4b563f1 100644
--- a/Knossos.NET/Knossos.NET.csproj
+++ b/Knossos.NET/Knossos.NET.csproj
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
- <TargetFramework>net6.0</TargetFramework>
+ <TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<!--Avalonia doesen't support TrimMode=link currently,but we are working on that https://github.com/AvaloniaUI/Avalonia/issues/6892 -->
<TrimMode>copyused</TrimMode>
diff --git a/VP.NET/VP.NET.csproj b/VP.NET/VP.NET.csproj
index 11fa155..2eef420 100644
--- a/VP.NET/VP.NET.csproj
+++ b/VP.NET/VP.NET.csproj
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFramework>net6.0</TargetFramework>
+ <TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

View File

@@ -0,0 +1,35 @@
{
buildDotnetModule,
fetchFromGitHub,
lib,
openal,
dotnetCorePackages,
}:
buildDotnetModule rec {
pname = "knossosnet";
version = "1.3.1";
src = fetchFromGitHub {
owner = "KnossosNET";
repo = "Knossos.NET";
rev = "v${version}";
hash = "sha256-XaCBuZ4Hf2ISw3hVQ1s2Hp8PLxp2eFr+I7U5ttUDQvU=";
};
patches = [ ./dotnet-8-upgrade.patch ];
dotnet-sdk = dotnetCorePackages.sdk_8_0;
nugetDeps = ./deps.json;
executables = [ "Knossos.NET" ];
runtimeDeps = [ openal ];
meta = with lib; {
homepage = "https://github.com/KnossosNET/Knossos.NET";
description = "Multi-platform launcher for Freespace 2 Open";
license = licenses.gpl3Only;
mainProgram = "Knossos.NET";
maintainers = with maintainers; [ cdombroski ];
};
}

View File

@@ -0,0 +1,32 @@
diff --git a/samples/Makefile.am b/samples/Makefile.am
index c253c91..107401d 100644
--- a/samples/Makefile.am
+++ b/samples/Makefile.am
@@ -19,11 +19,6 @@ EXTRA_DIST = knot.sample.conf.in example.com.zone
if HAVE_DAEMON
-install-data-local: knot.sample.conf
- if [ \! -f $(DESTDIR)/$(config_dir)/knot.sample.conf ]; then \
- $(INSTALL) -d $(DESTDIR)/$(config_dir); \
- $(INSTALL_DATA) knot.sample.conf $(srcdir)/example.com.zone $(DESTDIR)/$(config_dir); \
- fi
uninstall-local:
-rm -rf $(DESTDIR)/$(config_dir)/knot.sample.conf \
$(DESTDIR)/$(config_dir)/example.com.zone
diff --git a/src/utils/Makefile.inc b/src/utils/Makefile.inc
index e6765d9..d859d23 100644
--- a/src/utils/Makefile.inc
+++ b/src/utils/Makefile.inc
@@ -79,11 +79,6 @@ endif HAVE_DNSTAP
endif HAVE_UTILS
if HAVE_DAEMON
-# Create storage and run-time directories
-install-data-hook:
- $(INSTALL) -d $(DESTDIR)/@config_dir@
- $(INSTALL) -d $(DESTDIR)/@run_dir@
- $(INSTALL) -d $(DESTDIR)/@storage_dir@
sbin_PROGRAMS = knotc knotd

View File

@@ -0,0 +1,143 @@
{
lib,
stdenv,
fetchurl,
pkg-config,
gnutls,
liburcu,
lmdb,
libcap_ng,
libidn2,
libunistring,
systemd,
nettle,
libedit,
zlib,
libiconv,
libintl,
libmaxminddb,
libbpf,
nghttp2,
libmnl,
ngtcp2-gnutls,
xdp-tools,
fstrm,
protobufc,
sphinx,
autoreconfHook,
nixosTests,
knot-resolver,
knot-dns,
runCommandLocal,
}:
stdenv.mkDerivation rec {
pname = "knot-dns";
version = "3.5.0";
src = fetchurl {
url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz";
sha256 = "d52538bf7364c280999dec58c2a02a405dd922ef5794da1473ca7c3cf7f01277";
};
outputs = [
"bin"
"out"
"dev"
];
configureFlags = [
"--with-configdir=/etc/knot"
"--with-rundir=/run/knot"
"--with-storage=/var/lib/knot"
"--with-module-dnstap"
"--enable-dnstap"
];
patches = [
# Don't try to create directories like /var/lib/knot at build time.
# They are later created from NixOS itself.
./dont-create-run-time-dirs.patch
./runtime-deps.patch
];
# FIXME: sphinx is needed for now to get man-pages
nativeBuildInputs = [
pkg-config
protobufc # dnstap support
autoreconfHook
sphinx
];
buildInputs = [
gnutls
liburcu
libidn2
libunistring
nettle
libedit
libiconv
lmdb
libintl
nghttp2 # DoH support in kdig
ngtcp2-gnutls # DoQ support in kdig (and elsewhere but not much use there yet)
libmaxminddb # optional for geoip module (it's tiny)
# without sphinx &al. for developer documentation
fstrm
protobufc # dnstap support
]
++ lib.optionals stdenv.hostPlatform.isLinux [
libcap_ng
systemd
xdp-tools
libbpf
libmnl # XDP support (it's Linux kernel API)
]
++ lib.optional stdenv.hostPlatform.isDarwin zlib; # perhaps due to gnutls
enableParallelBuilding = true;
strictDeps = true;
CFLAGS = [
"-O2"
"-DNDEBUG"
];
__darwinAllowLocalNetworking = true;
doCheck = true;
checkFlags = [ "V=1" ]; # verbose output in case some test fails
doInstallCheck = true;
postInstall = ''
rm -r "$out"/lib/*.la
'';
passthru.tests = {
inherit knot-resolver;
}
// lib.optionalAttrs stdenv.hostPlatform.isLinux {
inherit (nixosTests) knot kea;
prometheus-exporter = nixosTests.prometheus-exporters.knot;
# Some dependencies are very version-sensitive, so the might get dropped
# or embedded after some update, even if the nixPackagers didn't intend to.
# For non-linux I don't know a good replacement for `ldd`.
deps = runCommandLocal "knot-deps-test" { nativeBuildInputs = [ (lib.getBin stdenv.cc.libc) ]; } ''
for libname in libngtcp2 libxdp libbpf; do
echo "Checking for $libname:"
ldd '${knot-dns.bin}/bin/knotd' | grep -F "$libname"
echo "OK"
done
touch "$out"
'';
};
meta = {
description = "Authoritative-only DNS server from .cz domain registry";
homepage = "https://knot-dns.cz";
changelog = "https://gitlab.nic.cz/knot/knot-dns/-/releases/v${version}";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.vcunat ];
mainProgram = "knotd";
};
}

View File

@@ -0,0 +1,13 @@
Remove unnecessary runtime dependencies.
`knotc status configure` shows summary from the configure script,
but that contains also references like include paths.
Filter these at least in a crude way (whole lines).
--- a/configure.ac
+++ b/configure.ac
@@ -788,5 +788,5 @@ result_msg_base="
-result_msg_esc=$(echo -n " Configure:$filtered_config_params\n$result_msg_base" | sed '$!s/$/\\n/' | tr -d '\n')
+result_msg_esc=$(echo -n " Configure:$filtered_config_params\n$result_msg_base" | grep -Fv "$NIX_STORE" | sed '$!s/$/\\n/' | tr -d '\n')
AC_DEFINE_UNQUOTED([CONFIGURE_SUMMARY],["$result_msg_esc"],[Configure summary])

View File

@@ -0,0 +1,63 @@
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "knowsmore";
version = "0.1.49";
pyproject = true;
src = fetchFromGitHub {
owner = "helviojunior";
repo = "knowsmore";
tag = "v${version}";
hash = "sha256-1qWbDf5lh9HogjjPoI51znpcQrriB2Eg4eA4xDQDYA8=";
};
pythonRelaxDeps = [
"neo4j"
"urllib3"
];
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
aioconsole
ansi2image
beautifulsoup4
clint
colorama
impacket
levenshtein
minikerberos
neo4j
numpy
pypsrp
requests
tabulate
urllib3
xmltodict
];
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
pythonImportsCheck = [ "knowsmore" ];
enabledTestPaths = [ "tests/tests*" ];
disabledTests = [
# Issue with later neo4j versions
"test_create_db"
];
meta = with lib; {
description = "Tool for pentesting Microsoft Active Directory";
homepage = "https://github.com/helviojunior/knowsmore";
changelog = "https://github.com/helviojunior/knowsmore/releases/tag/${src.tag}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
mainProgram = "knowsmore";
};
}

View File

@@ -0,0 +1,42 @@
{
stdenvNoCC,
lib,
fetchFromGitHub,
fzf,
kubectl,
}:
stdenvNoCC.mkDerivation {
pname = "kns";
version = "0-unstable-2023-04-25";
src = fetchFromGitHub {
owner = "blendle";
repo = "kns";
rev = "86502949c31432bd95895cfb26d1c5893c533d5c";
hash = "sha256-8AR/fEKPAfiKCZrp/AyJo3Ic8dH7SfncYZSdQA2GywQ=";
};
strictDeps = true;
buildInputs = [
fzf
kubectl
];
installPhase = ''
runHook preInstall
substituteInPlace bin/kns bin/ktx --replace fzf ${fzf}/bin/fzf --replace kubectl ${kubectl}/bin/kubectl
install -D -m755 -t $out/bin bin/kns bin/ktx
runHook postInstall
'';
meta = with lib; {
description = "Kubernetes namespace switcher";
homepage = "https://github.com/blendle/kns";
license = licenses.isc;
maintainers = with maintainers; [ mmlb ];
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,69 @@
{
lib,
stdenv,
buildPackages,
fetchFromGitHub,
autoreconfHook,
pkg-config,
indent,
perl,
argp-standalone,
fmt_9,
libev,
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
systemd,
withUsb ? stdenv.hostPlatform.isLinux,
libusb1,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "knxd";
version = "0.14.73";
src = fetchFromGitHub {
owner = "knxd";
repo = "knxd";
tag = finalAttrs.version;
hash = "sha256-rBYvwNJ8rIXGv9Hz0xTn+4cUdptdoddCCv6JvF4f1+M=";
};
postPatch = ''
sed -i '2i echo ${finalAttrs.version}; exit' tools/version.sh
sed -i '2i exit' tools/get_libfmt
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
indent
perl
];
buildInputs = [
fmt_9
libev
]
++ lib.optional withSystemd systemd
++ lib.optional withUsb libusb1
++ lib.optional stdenv.hostPlatform.isDarwin argp-standalone;
configureFlags = [
(lib.enableFeature withSystemd "systemd")
(lib.enableFeature withUsb "usb")
];
depsBuildBuild = [ buildPackages.stdenv.cc ];
installFlags = lib.optionals withSystemd [
"systemdsystemunitdir=$(out)/lib/systemd/system"
"systemdsysusersdir=$(out)/lib/sysusers.d"
];
meta = {
description = "Advanced router/gateway for KNX";
homepage = "https://github.com/knxd/knxd";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ sikmir ];
platforms = lib.platforms.unix;
};
})