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,13 @@
diff --git a/cmake/git-version.cmake b/cmake/git-version.cmake
index be226fd..1451ff6 100644
--- a/cmake/git-version.cmake
+++ b/cmake/git-version.cmake
@@ -15,6 +15,8 @@ if(GIT_EXECUTABLE)
endif()
endif()
+set(LPAC_VERSION "$ENV{LPAC_VERSION}")
+
# Final fallback: Just use a bogus version string that is semantically older
# than anything else and spit out a warning to the developer.
if(NOT DEFINED LPAC_VERSION)

View File

@@ -0,0 +1,74 @@
{
stdenv,
fetchFromGitHub,
lib,
cmake,
pkg-config,
pcsclite,
curl,
libmbim,
libqmi,
withDrivers ? true,
withLibeuicc ? true,
withMbim ? true,
withQmi ? true,
nix-update-script,
}:
let
inherit (lib) optional;
in
stdenv.mkDerivation (finalAttrs: {
pname = "lpac";
version = "2.3.0";
src = fetchFromGitHub {
owner = "estkme-group";
repo = "lpac";
tag = "v${finalAttrs.version}";
hash = "sha256-ALne5sHB6ff7cHAWe0rFwpP/Yz4EhZBiOrgdM2B8+OE=";
};
env.LPAC_VERSION = finalAttrs.version;
patches = [ ./lpac-version.patch ];
cmakeFlags = [
(lib.cmakeBool "LPAC_DYNAMIC_DRIVERS" withDrivers)
(lib.cmakeBool "LPAC_DYNAMIC_LIBEUICC" withLibeuicc)
(lib.cmakeBool "LPAC_WITH_APDU_MBIM" withMbim)
(lib.cmakeBool "LPAC_WITH_APDU_QMI" withQmi)
];
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
curl
pcsclite
]
++ optional withMbim libmbim
++ optional withQmi libqmi;
postInstall = ''
mkdir -p $out/share/doc/lpac
cp -vr $src/docs/* $out/share/doc/lpac
'';
passthru = {
updateScript = nix-update-script { attrPath = finalAttrs.pname; };
};
meta = {
description = "C-based eUICC LPA";
homepage = "https://github.com/estkme-group/lpac";
mainProgram = "lpac";
changelog = "https://github.com/estkme-group/lpac/releases/tag/v${finalAttrs.version}";
license = [ lib.licenses.agpl3Plus ] ++ optional withLibeuicc lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ sarcasticadmin ];
platforms = lib.platforms.all;
};
})

View File

@@ -0,0 +1,45 @@
{
lib,
SDL2,
SDL2_image,
SDL2_mixer,
SDL2_ttf,
directoryListingUpdater,
fetchurl,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "lpairs2";
version = "2.3.2";
src = fetchurl {
url = "mirror://sourceforge/lgames/lpairs2-${finalAttrs.version}.tar.gz";
hash = "sha256-y4eRLWhfI4XMBtGCqdM/l69pftGGIbVjVEkz/v5ytZI=";
};
buildInputs = [
SDL2
SDL2_image
SDL2_mixer
SDL2_ttf
];
enableParallelBuilding = true;
passthru.updateScript = directoryListingUpdater {
inherit (finalAttrs) pname version;
url = "https://lgames.sourceforge.io/LPairs/";
extraRegex = "(?!.*-win(32|64)).*";
};
meta = {
homepage = "http://lgames.sourceforge.net/LPairs/";
description = "Matching the pairs - a typical Memory Game";
license = with lib.licenses; [ gpl2Plus ];
mainProgram = "lpairs2";
maintainers = [ ];
platforms = lib.platforms.unix;
broken = stdenv.hostPlatform.isDarwin;
};
})

View File

@@ -0,0 +1,39 @@
{
fetchFromGitHub,
lib,
pkgs,
python3Packages,
}:
python3Packages.buildPythonApplication rec {
pname = "lparchive2epub";
version = "1.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "Arwalk";
repo = "lparchive2epub";
tag = "v${version}";
hash = "sha256-h1i/p14Zzzr0SK+OjcCnXpsVjJl7mrbeLJ5JlnA0wPU=";
};
build-system = with python3Packages; [ poetry-core ];
dependencies = with python3Packages; [
ebooklib
beautifulsoup4
tqdm
aiohttp
];
nativeCheckInputs = [
python3Packages.pytestCheckHook
];
meta = {
description = "Transform any LP from lparchive into an epub document";
homepage = "https://github.com/Arwalk/lparchive2epub";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nsnelson ];
};
}

View File

@@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1600871..1536c55 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -158,7 +158,7 @@ elseif(${SSE} AND (${SSE_PRESENT} OR ${SSE_PRESENT} GREATER 0))
# AVX and AVX2 machines will also match on SSE
message(STATUS "sse processor flags found or enabled.")
set(LPCNET_C_PROC_FLAGS -msse4.1)
-elseif(${NEON} AND (${NEON_PRESENT} OR ${NEON_PRESENT} GREATER 0))
+elseif(${NEON} AND (${NEON_PRESENT} OR ${NEON_PRESENT} GREATER 0) AND NOT APPLE)
# RPi / ARM 32bit
message(STATUS "neon processor flags found or enabled.")
set(LPCNET_C_PROC_FLAGS -mfpu=neon -march=armv8-a -mtune=cortex-a53)

View File

@@ -0,0 +1,69 @@
{
lib,
stdenv,
fetchFromGitHub,
fetchurl,
cmake,
codec2,
sox,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "LPCNet";
version = "0.5-unstable-2025-01-19";
src = fetchFromGitHub {
owner = "drowe67";
repo = "LPCNet";
rev = "c8e51ac5e2fe674849cb53e7da44689b572cc246";
sha256 = "sha256-0Knoym+deTuFAyJrrD55MijVh6DlhJp3lss66BJUHiA=";
};
patches = [
# extracted from https://github.com/drowe67/LPCNet/pull/59
./darwin.patch
];
passthru = {
# Prebuilt neural network model that is needed during the build - can be overwritten
nnmodel = fetchurl {
url = "http://rowetel.com/downloads/deep/lpcnet_191005_v1.0.tgz";
hash = "sha256-UJRAkkdR/dh/+qVoPuPd3ZN69cgzuRBMzOZdUWFJJsg=";
};
};
preConfigure = ''
mkdir build
cp \
${finalAttrs.finalPackage.passthru.nnmodel} \
build/${finalAttrs.finalPackage.passthru.nnmodel.name}
'';
nativeBuildInputs = [
cmake
];
buildInputs = [
codec2
];
doCheck = true;
nativeCheckInputs = [
# NOTE: From some reason, the tests pass without this on x86_64-linux, but
# not on aarch64-linux, although the relevant test is not enabled
# conditionally, see:
# https://github.com/drowe67/LPCNet/blob/c8e51ac5e2fe674849cb53e7da44689b572cc246/CMakeLists.txt#L220-L225
sox
];
meta = {
description = "Experimental Neural Net speech coding for FreeDV";
homepage = "https://github.com/drowe67/LPCNet";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [
doronbehar
mvs
];
platforms = lib.platforms.all;
};
})

View File

@@ -0,0 +1,54 @@
{
lib,
stdenv,
fetchFromGitHub,
pappl,
cups,
pkg-config,
# Enables support for untested printers. It makes sense to default this to true, as it's unlikely to result in any issues
enableExperimental ? true,
}:
stdenv.mkDerivation rec {
pname = "lprint";
version = "1.3.1";
src = fetchFromGitHub {
owner = "michaelrsweet";
repo = "lprint";
rev = "v${version}";
hash = "sha256-1OOLGQ8S4oRNSJanX/AzJ+g5F+jYnE/+o+ie5ucY22U=";
};
outputs = [
"out"
"dev"
];
nativeBuildInputs = [
pkg-config
];
buildInputs = [
pappl
cups
];
configureFlags = lib.optional enableExperimental "--enable-experimental";
doInstallCheck = true;
installCheckPhase = ''
$out/bin/lprint --help
'';
enableParallelBuilding = true;
meta = with lib; {
description = "Implements printing for a variety of common label and receipt printers connected via network or USB";
mainProgram = "lprint";
homepage = "https://github.com/michaelrsweet/lprint";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with lib.maintainers; [ pandapip1 ];
};
}

View File

@@ -0,0 +1,33 @@
{
lib,
buildGoModule,
fetchFromGitHub,
libpcap,
}:
buildGoModule rec {
pname = "lprobe";
version = "0.1.6";
src = fetchFromGitHub {
owner = "fivexl";
repo = "lprobe";
tag = "v${version}";
hash = "sha256-Cb6jzL/BAhfwvGENLFfphATDz0EjFFT7qeHFiZCrvBk=";
};
vendorHash = "sha256-wQrbRch+5srZfQgEz7aacfbUXJfHeDCz52pPrgDFaNg=";
buildInputs = [
libpcap
];
meta = {
description = "Command-line tool to perform Local Health Check Probes inside Container Images (ECS, Docker)";
homepage = "https://github.com/fivexl/lprobe";
license = lib.licenses.asl20;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with lib.maintainers; [ cageyv ];
mainProgram = "lprobe";
};
}