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,70 @@
{
lib,
stdenv,
fetchFromGitHub,
curl,
webkitgtk_4_0,
libmicrohttpd,
libsecret,
qrencode,
libsodium,
pkg-config,
help2man,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "oidc-agent";
version = "5.3.2";
src = fetchFromGitHub {
owner = "indigo-dc";
repo = "oidc-agent";
rev = "v${version}";
hash = "sha256-G2E6/mMP8d9s6JsIlFwMQ8sm4FCF8Gm8OqrsTPjPUrA=";
};
nativeBuildInputs = [
pkg-config
help2man
];
buildInputs = [
curl
webkitgtk_4_0
libmicrohttpd
libsecret
qrencode
libsodium
];
enableParallelBuilding = true;
makeFlags = [
"PREFIX=$(out)"
"BIN_PATH=$(out)"
"PROMPT_BIN_PATH=$(out)"
"LIB_PATH=$(out)/lib"
];
installTargets = [
"install_bin"
"install_lib"
"install_conf"
];
postFixup = ''
# Override with patched binary to be used by help2man
cp -r $out/bin/* bin
make install_man PREFIX=$out MAN_PATH=$out/share/man PROMPT_MAN_PATH=$out/share/man
'';
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Manage OpenID Connect tokens on the command line";
homepage = "https://github.com/indigo-dc/oidc-agent";
maintainers = with maintainers; [ xinyangli ];
license = licenses.mit;
};
}

View File

@@ -0,0 +1,29 @@
{
lib,
stdenv,
fetchurl,
bison,
flex,
}:
stdenv.mkDerivation rec {
pname = "oidentd";
version = "3.1.0";
nativeBuildInputs = [
bison
flex
];
src = fetchurl {
url = "https://files.janikrabe.com/pub/oidentd/releases/${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-yyvcnabxNkcIMOiZBjvoOm/pEjrGXFt4W4SG5lprkbc=";
};
meta = with lib; {
description = "Configurable Ident protocol server";
mainProgram = "oidentd";
homepage = "https://oidentd.janikrabe.com/";
license = licenses.gpl2Only;
platforms = platforms.linux;
};
}

View File

@@ -0,0 +1,53 @@
{
stdenvNoCC,
lib,
fetchFromGitHub,
jq,
gawk,
peco,
makeWrapper,
}:
stdenvNoCC.mkDerivation rec {
pname = "oil-buku";
version = "0.3.2";
src = fetchFromGitHub {
owner = "AndreiUlmeyda";
repo = "oil";
rev = version;
sha256 = "12g0fd7h11hh94b2pyg3pqwbf8bc7gcnrnm1qqbf18s6z02b6ixr";
};
postPatch = ''
substituteInPlace src/oil --replace \
"LIBDIR=/usr/local/lib/oil" "LIBDIR=${placeholder "out"}/lib"
substituteInPlace src/json-to-line.jq --replace \
"/usr/bin/env -S jq" "${jq}/bin/jq"
substituteInPlace src/format-columns.awk --replace \
"/usr/bin/env -S awk" "${gawk}/bin/awk"
'';
makeFlags = [
"BINDIR=${placeholder "out"}/bin"
"LIBDIR=${placeholder "out"}/lib"
];
nativeBuildInputs = [ makeWrapper ];
postFixup = ''
wrapProgram $out/bin/oil \
--prefix PATH : ${lib.makeBinPath [ peco ]}
'';
meta = with lib; {
description = "Search-as-you-type cli frontend for the buku bookmarks manager using peco";
homepage = "https://github.com/AndreiUlmeyda/oil";
license = licenses.gpl3Only;
maintainers = with maintainers; [ atila ];
mainProgram = "oil";
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,138 @@
{
lib,
stdenv,
config,
fetchurl,
libX11,
libXext,
libXinerama,
libXrandr,
libXrender,
fontconfig,
freetype,
openal,
runtimeShell,
}:
let
inherit (lib) makeLibraryPath;
in
stdenv.mkDerivation {
name = "oilrush";
src =
let
url = config.oilrush.url or null;
sha256 = config.oilrush.sha256 or null;
in
assert url != null && sha256 != null;
fetchurl { inherit url sha256; };
shell = stdenv.shell;
arch =
if stdenv.hostPlatform.system == "x86_64-linux" then
"x64"
else
lib.optionalString (stdenv.hostPlatform.system == "i686-linux") "x86";
unpackPhase = ''
mkdir oilrush
cd oilrush
"$shell" "$src" --tar xf
'';
patchPhase = ''
cd bin
for f in launcher_$arch libQtCoreUnigine_$arch.so.4 OilRush_$arch
do
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $f
done
patchelf --set-rpath ${lib.getLib stdenv.cc.cc}/lib64:${
makeLibraryPath [
stdenv.cc.cc
libX11
libXext
libXrender
fontconfig
freetype
]
}\
launcher_$arch
patchelf --set-rpath ${lib.getLib stdenv.cc.cc}/lib64:${lib.getLib stdenv.cc.cc}/lib\
libNetwork_$arch.so
patchelf --set-rpath ${lib.getLib stdenv.cc.cc}/lib64:${lib.getLib stdenv.cc.cc}/lib\
libQtCoreUnigine_$arch.so.4
patchelf --set-rpath ${lib.getLib stdenv.cc.cc}/lib64:${
makeLibraryPath [
stdenv.cc.cc
libX11
libXext
libXrender
fontconfig
freetype
]
}\
libQtGuiUnigine_$arch.so.4
patchelf --set-rpath ${lib.getLib stdenv.cc.cc}/lib64:${lib.getLib stdenv.cc.cc}/lib\
libQtNetworkUnigine_$arch.so.4
patchelf --set-rpath ${lib.getLib stdenv.cc.cc}/lib64:${
makeLibraryPath [
stdenv.cc.cc
libX11
libXext
libXrender
fontconfig
freetype
]
}\
libQtWebKitUnigine_$arch.so.4
patchelf --set-rpath ${lib.getLib stdenv.cc.cc}/lib64:${lib.getLib stdenv.cc.cc}/lib\
libQtXmlUnigine_$arch.so.4
patchelf --set-rpath ${lib.getLib stdenv.cc.cc}/lib64:${lib.getLib stdenv.cc.cc}/lib\
libRakNet_$arch.so
patchelf --set-rpath ${lib.getLib stdenv.cc.cc}/lib64:${
makeLibraryPath [
stdenv.cc.cc
libX11
libXext
libXinerama
libXrandr
]
}\
libUnigine_$arch.so
patchelf --set-rpath ${lib.getLib stdenv.cc.cc}/lib64:${
makeLibraryPath [
stdenv.cc.cc
libX11
libXext
libXinerama
libXrandr
]
}\
OilRush_$arch
'';
installPhase = ''
cd ..
mkdir -p "$out/opt/oilrush"
cp -r * "$out/opt/oilrush"
mkdir -p "$out/bin"
cat << EOF > "$out/bin/oilrush"
#!${runtimeShell}
LD_LIBRARY_PATH=.:${makeLibraryPath [ openal ]}:\$LD_LIBRARY_PATH
cd "$out/opt/oilrush"
exec ./launcher_$arch.sh "\$@"
EOF
chmod +x "$out/bin/oilrush"
'';
meta = {
description = "Naval strategy game";
longDescription = ''
Oil Rush is a real-time naval strategy game based on group control. It
combines the strategic challenge of a classical RTS with the sheer fun
of Tower Defense.
'';
homepage = "http://oilrush-game.com/";
license = lib.licenses.unfree;
platforms = lib.platforms.linux;
hydraPlatforms = [ ];
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
};
}

View File

@@ -0,0 +1,83 @@
{
stdenv,
lib,
fetchurl,
symlinkJoin,
withReadline ? true,
readline,
}:
let
readline-all = symlinkJoin {
name = "readline-all";
paths = [
readline
readline.dev
];
};
in
stdenv.mkDerivation rec {
pname = "oils-for-unix";
version = "0.36.0";
src = fetchurl {
url = "https://oils.pub/download/oils-for-unix-${version}.tar.gz";
hash = "sha256-m2X8czNwjcHcd36KYUWuho6sb74MREqLErttbSllKQI=";
};
postPatch = ''
patchShebangs _build
'';
preInstall = ''
mkdir -p $out/bin
'';
buildPhase = ''
runHook preBuild
_build/oils.sh
runHook postBuild
'';
installPhase = ''
runHook preInstall
./install
runHook postInstall
'';
strictDeps = true;
buildInputs = lib.optional withReadline readline;
# As of 0.19.0 the build generates an error on MacOS (using clang version 16.0.6 in the builder),
# whereas running it outside of Nix with clang version 15.0.0 generates just a warning. The shell seems to
# work just fine though, so we disable the error here.
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=incompatible-function-pointer-types";
configureFlags = [
"--datarootdir=${placeholder "out"}"
]
++ lib.optionals withReadline [
"--with-readline"
"--readline=${readline-all}"
];
meta = {
description = "Unix shell with JSON-compatible structured data. It's our upgrade path from bash to a better language and runtime";
homepage = "https://www.oils.pub/";
license = lib.licenses.asl20;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [
mkg20001
melkor333
];
changelog = "https://www.oils.pub/release/${version}/changelog.html";
};
passthru = {
shellPath = "/bin/osh";
};
}

View File

@@ -0,0 +1,34 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "oink";
version = "1.4.0";
src = fetchFromGitHub {
owner = "rlado";
repo = "oink";
rev = "v${version}";
hash = "sha256-e8FtjORTTIDnDANk8sWH8kmS35wyndDd6F7Vhepskb8=";
};
vendorHash = null;
postInstall = ''
mv $out/bin/src $out/bin/oink
'';
meta = {
description = "Dynamic DNS client for Porkbun";
homepage = "https://github.com/rlado/oink";
license = lib.licenses.mit;
mainProgram = "oink";
maintainers = with lib.maintainers; [
jtbx
pmw
];
};
}

View File

@@ -0,0 +1,34 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
libX11,
}:
stdenv.mkDerivation rec {
pname = "ois";
version = "1.5.1";
src = fetchFromGitHub {
owner = "wgois";
repo = "OIS";
rev = "v${version}";
sha256 = "sha256-ir6p+Tzf8L5VOW/rsG4yelsth7INbhABO2T7pfMHcFo=";
};
nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libX11 ];
cmakeFlags = [
"-DCMAKE_INSTALL_LIBDIR=lib"
];
meta = with lib; {
description = "Object-oriented C++ input system";
maintainers = [ maintainers.raskin ];
platforms = platforms.unix;
license = licenses.zlib;
};
}