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,60 @@
{
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
pkg-config,
zlib,
cmake,
enableJemalloc ? !stdenv.hostPlatform.isMusl,
jemalloc,
}:
stdenv.mkDerivation rec {
pname = "lwan";
version = "0.5";
src = fetchFromGitHub {
owner = "lpereira";
repo = "lwan";
rev = "v${version}";
sha256 = "sha256-otiPH+e+auMCyeOTq4LJYaBNv+I91kOCww7DCepQTAQ=";
};
patches = [
(fetchpatch {
url = "https://github.com/lpereira/lwan/commit/9b94ff5eecec1e925103b25a43dacc226a634878.patch";
hash = "sha256-g1ZwmEodtF1fkbIBaLT4YvH8EG8DGafHydPSYJra+c0=";
})
];
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [ zlib ] ++ lib.optional enableJemalloc jemalloc;
# Note: tcmalloc and mimalloc are also supported (and normal malloc)
cmakeFlags = lib.optional enableJemalloc "-DUSE_ALTERNATIVE_MALLOC=jemalloc";
hardeningDisable = lib.optional stdenv.hostPlatform.isMusl "pie";
meta = with lib; {
description = "Lightweight high-performance multi-threaded web server";
mainProgram = "lwan";
longDescription = "A lightweight and speedy web server with a low memory
footprint (~500KiB for 10k idle connections), with minimal system calls and
memory allocation. Lwan contains a hand-crafted HTTP request parser. Files are
served using the most efficient way according to their size: no copies between
kernel and userland for files larger than 16KiB. Smaller files are sent using
vectored I/O of memory-mapped buffers. Header overhead is considered before
compressing small files. Features include: mustache templating engine and IPv6
support.
";
homepage = "https://lwan.ws/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ leenaars ];
};
}

View File

@@ -0,0 +1,33 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "lwc";
version = "unstable-2022-07-26";
src = fetchFromGitHub {
owner = "timdp";
repo = "lwc";
rev = "3330928c9d82200837350f85335f5e6c09f0658b";
hash = "sha256-HFuXA5Y274XtgqG9odDAg9SSCgUxprnojfGavnYW4LE=";
};
vendorHash = "sha256-av736cW0bPsGQV+XFL/q6p/9VhjOeDwkiK5DLRnRtUg=";
ldflags = [
"-s"
"-w"
"-X=main.version=${src.rev}"
];
meta = with lib; {
description = "Live-updating version of the UNIX wc command";
homepage = "https://github.com/timdp/lwc";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "lwc";
};
}

View File

@@ -0,0 +1,36 @@
{
lib,
stdenv,
fetchFromGitHub,
mpi,
autoreconfHook,
}:
stdenv.mkDerivation rec {
pname = "lwgrp";
version = "1.0.6";
src = fetchFromGitHub {
owner = "LLNL";
repo = "lwgrp";
rev = "v${version}";
hash = "sha256-ZpxxcCqK+qdvnCvobeBV6htRF8wThiQgVFYgEigqmIE=";
};
outputs = [
"out"
"dev"
];
nativeBuildInputs = [ autoreconfHook ];
propagatedBuildInputs = [ mpi ];
meta = with lib; {
description = "Data structures and operations to group MPI processes as an ordered set";
homepage = "https://github.com/LLNL/lwgrp";
platforms = platforms.linux;
license = licenses.bsd3;
maintainers = [ maintainers.markuskowa ];
};
}

View File

@@ -0,0 +1,59 @@
{
lib,
stdenv,
fetchurl,
imake,
libX11,
libSM,
libXext,
libICE,
}:
stdenv.mkDerivation rec {
pname = "lwm";
version = "1.2.4";
src = fetchurl {
url = "http://www.jfc.org.uk/files/lwm/${pname}-${version}.tar.gz";
sha256 = "1bcdr173f0gl61fyl43p3gr145angci7lvjqb8rl00y9f9amvh3y";
};
nativeBuildInputs = [ imake ];
buildInputs = [
libX11
libSM
libXext
libICE
];
dontConfigure = true;
preBuild = ''
sed -i 's|^LOCAL_LIBRARIES.*|& $(ICELIB)|' Imakefile
xmkmf
'';
installPhase = ''
install -dm755 $out/bin $out/share/man/man1
install -m755 lwm $out/bin/lwm
install -m644 lwm.man $out/share/man/man1/lwm.1
'';
meta = with lib; {
description = "Lightweight Window Manager";
longDescription = ''
lwm is a window manager for X that tries to keep out of your face. There
are no icons, no button bars, no icon docks, no root menus, no nothing: if
you want all that, then other programs can provide it. There's no
configurability either: if you want that, you want a different window
manager; one that helps your operating system in its evil conquest of your
disc space and its annexation of your physical memory.
'';
homepage = "http://www.jfc.org.uk/software/lwm.html";
license = licenses.gpl2;
maintainers = [ ];
platforms = platforms.linux;
mainProgram = "lwm";
};
}