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,59 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
makeWrapper,
bash,
coreutils,
diffutils,
gawk,
gnugrep,
gnused,
host,
netcat-openbsd,
}:
stdenvNoCC.mkDerivation {
pname = "lbd";
version = "0-unstable-2024-02-17";
src = fetchFromGitHub {
owner = "D3vil0p3r";
repo = "lbd";
rev = "73baaaecddcd834d43d79f50f0808b779c9a97c3";
hash = "sha256-NHY3NoPigsmfRjOx9Lt3/fGsyeq1/bzKHIXMDBJiI6c=";
};
nativeBuildInputs = [
makeWrapper
];
installPhase = ''
runHook preInstall
mkdir -p $out/{bin,share/lbd}
cp lbd $out/share/lbd/
makeWrapper ${lib.getExe bash} $out/bin/lbd \
--prefix PATH : "${
lib.makeBinPath [
coreutils
diffutils
gawk
gnugrep
gnused
host
netcat-openbsd
]
}" \
--add-flags "$out/share/lbd/lbd"
runHook postInstall
'';
meta = with lib; {
description = "Detect if a domain uses DNS and/or HTTP Load-Balancing";
mainProgram = "lbd";
homepage = "https://github.com/D3vil0p3r/lbd";
maintainers = with maintainers; [ d3vil0p3r ];
platforms = platforms.unix;
license = licenses.gpl2Plus;
};
}

View File

@@ -0,0 +1,11 @@
--- a/lbdb.rc.in
+++ b/lbdb.rc.in
@@ -40,7 +40,7 @@
# - m_vcf search a vcard (according to RFC2426) file.
# - m_khard search a CardDAV address book via khard
-METHODS="m_inmail m_passwd m_finger"
+METHODS="@MODULES@"
#

View File

@@ -0,0 +1,70 @@
{
lib,
stdenv,
fetchurl,
perl,
bsd-finger,
withAbook ? true,
abook,
withGnupg ? true,
gnupg,
withGoobook ? true,
goobook,
withKhard ? true,
khard,
withMu ? true,
mu,
}:
let
perl' = perl.withPackages (
p: with p; [
AuthenSASL
ConvertASN1
IOSocketSSL
perlldap
]
);
in
stdenv.mkDerivation rec {
pname = "lbdb";
version = "0.56";
src = fetchurl {
url = "https://www.spinnaker.de/lbdb/download/lbdb-${version}.tar.gz";
sha256 = "sha256-uqaiO2E5TXkreyIeGWHZulcQYUyTJOj1mzXBJsK0504=";
};
buildInputs = [
perl'
]
++ lib.optional (!stdenv.hostPlatform.isDarwin) bsd-finger
++ lib.optional withAbook abook
++ lib.optional withGnupg gnupg
++ lib.optional withGoobook goobook
++ lib.optional withKhard khard
++ lib.optional withMu mu;
configureFlags =
[ ]
++ lib.optional withAbook "--with-abook"
++ lib.optional withGnupg "--with-gpg"
++ lib.optional withGoobook "--with-goobook"
++ lib.optional withKhard "--with-khard"
++ lib.optional withMu "--with-mu";
patches = [
./add-methods-to-rc.patch
];
meta = with lib; {
homepage = "https://www.spinnaker.de/lbdb/";
description = "Little Brother's Database";
license = licenses.gpl2Plus;
maintainers = with maintainers; [
kaiha
bfortz
];
platforms = platforms.all;
};
}

View File

@@ -0,0 +1,57 @@
{
lib,
SDL,
SDL_mixer,
fetchpatch,
fetchurl,
libintl,
libpng,
stdenv,
zlib,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "lbreakout2";
version = "2.6.5";
src = fetchurl {
url = "mirror://sourceforge/lgames/lbreakout2-${finalAttrs.version}.tar.gz";
hash = "sha256-kQTWF1VT2jRC3GpfxAemaeL1r/Pu3F0wQJ6wA7enjW8=";
};
patches = [
(fetchpatch {
url = "https://sources.debian.org/data/main/l/lbreakout2/2.6.5-2/debian/patches/sdl_fix_pauses.patch";
hash = "sha256-ycsuxfokpOblLky42MwtJowdEp7v5dZRMFIR4id4ZBI=";
})
];
configureFlags = [
(lib.enableFeature (!stdenv.hostPlatform.isDarwin) "sdltest")
];
buildInputs = [
SDL
SDL_mixer
libintl
libpng
zlib
];
# With fortify it crashes at runtime:
# *** buffer overflow detected ***: terminated
# Aborted (core dumped)
hardeningDisable = [ "fortify" ];
meta = {
homepage = "http://lgames.sourceforge.net/LBreakout2/";
description = "Breakout clone from the LGames series";
license = with lib.licenses; [ gpl2Plus ];
mainProgram = "lbreakout2";
maintainers = with lib.maintainers; [
ciil
];
platforms = lib.platforms.unix;
hydraPlatforms = lib.platforms.linux; # build hangs on both Darwin platforms, needs investigation
};
})

View File

@@ -0,0 +1,52 @@
{
lib,
SDL2,
SDL2_image,
SDL2_mixer,
SDL2_ttf,
directoryListingUpdater,
fetchurl,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "lbreakouthd";
version = "1.2";
src = fetchurl {
url = "mirror://sourceforge/lgames/lbreakouthd-${finalAttrs.version}.tar.gz";
hash = "sha256-ZEy/b2ZWAZvDNbAu/FnpsPo8WsvSGADbdaSXU/gpdBk=";
};
# On macOS with a case-insensitive filesystem, "sdl.h" shadows <SDL.h>
postPatch = lib.optionalString stdenv.buildPlatform.isDarwin ''
mv src/sdl.h src/lbhd_sdl.h
for file in src/*.cpp src/*.h; do
substituteInPlace "$file" --replace-quiet 'sdl.h' 'lbhd_sdl.h'
done
'';
buildInputs = [
SDL2
SDL2_image
SDL2_mixer
SDL2_ttf
];
hardeningDisable = [ "format" ];
passthru.updateScript = directoryListingUpdater {
inherit (finalAttrs) pname version;
url = "https://lgames.sourceforge.io/LBreakoutHD/";
extraRegex = "(?!.*-win(32|64)).*";
};
meta = {
homepage = "https://lgames.sourceforge.io/LBreakoutHD/";
description = "Widescreen Breakout clone";
license = lib.licenses.gpl2Plus;
mainProgram = "lbreakouthd";
maintainers = [ ];
inherit (SDL2.meta) platforms;
};
})

View File

@@ -0,0 +1,50 @@
{
lib,
fetchurl,
appimageTools,
}:
appimageTools.wrapAppImage rec {
pname = "lbry-desktop";
version = "0.53.9";
# Fetch from GitHub Releases and extract
src = appimageTools.extract {
inherit pname version;
src = fetchurl {
url = "https://github.com/lbryio/lbry-desktop/releases/download/v${version}/LBRY_${version}.AppImage";
# Gotten from latest-linux.yml
hash = "sha256-FkqIazE4eIEobYRBstXfPWh6MTCaNcCLk14yDGC4rRk=";
};
};
# At runtime, Lbry likes to have access to Ffmpeg
extraPkgs = pkgs: [ pkgs.ffmpeg ];
# General fixup
extraInstallCommands = ''
# Firstly, rename the executable to lbry for convinence
mv $out/bin/${pname} $out/bin/lbry
# Now, install assets such as the desktop file and icons
install -m 444 -D ${src}/lbry.desktop -t $out/share/applications
substituteInPlace $out/share/applications/lbry.desktop \
--replace 'Exec=AppRun' 'Exec=lbry'
cp -r ${src}/usr/share/icons $out/share
'';
meta = with lib; {
description = "Browser and wallet for LBRY, the decentralized, user-controlled content marketplace";
longDescription = ''
The LBRY app is a graphical browser for the decentralized content marketplace provided by the LBRY protocol.
It is essentially the lbry daemon bundled with a UI using Electron.
'';
license = licenses.mit;
homepage = "https://lbry.com/";
downloadPage = "https://lbry.com/get/";
changelog = "https://github.com/lbryio/lbry-desktop/blob/master/CHANGELOG.md";
maintainers = with maintainers; [ enderger ];
platforms = [ "x86_64-linux" ];
mainProgram = "lbry";
};
}

View File

@@ -0,0 +1,55 @@
{
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
gnulib,
perl,
autoconf,
automake,
}:
stdenv.mkDerivation rec {
pname = "lbzip2";
version = "2.5";
src = fetchFromGitHub {
owner = "kjn";
repo = "lbzip2";
rev = "v${version}";
sha256 = "1h321wva6fp6khz6x0i6rqb76xh327nw6v5jhgjpcckwdarj5jv8";
};
patches = [
# This avoids an implicit function declaration when building gnulib's
# xmalloc.c, addressing a build failure with future compiler version.
# https://github.com/kjn/lbzip2/pull/33
(fetchpatch {
name = "GNULIB_XALLOC_DIE.patch";
url = "https://github.com/kjn/lbzip2/commit/32b5167940ec817e454431956040734af405a9de.patch";
hash = "sha256-YNgmkh4bksIq5kBgZP+8o97aMm9CzFZldfUW6L5DGXk=";
})
];
buildInputs = [
gnulib
perl
];
nativeBuildInputs = [
autoconf
automake
];
preConfigure = ''
substituteInPlace configure.ac --replace 'AC_PREREQ([2.63])' 'AC_PREREQ(2.64)'
./build-aux/autogen.sh
'';
meta = with lib; {
homepage = "https://github.com/kjn/lbzip2"; # Formerly http://lbzip2.org/
description = "Parallel bzip2 compression utility";
license = licenses.gpl3;
maintainers = [ ];
platforms = platforms.unix;
};
}