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,90 @@
{
lib,
fetchFromGitHub,
stdenv,
unzip,
alsa-lib,
gcc-unwrapped,
git,
godot3-export-templates,
godot3-headless,
libGLU,
libX11,
libXcursor,
libXext,
libXfixes,
libXi,
libXinerama,
libXrandr,
libXrender,
libglvnd,
libpulseaudio,
zlib,
}:
stdenv.mkDerivation {
pname = "4d-minesweeper";
version = "2.0";
src = fetchFromGitHub {
owner = "gapophustu";
repo = "4D-Minesweeper";
rev = "db176d8aa5981a597bbae6a1a74aeebf0f376df4";
hash = "sha256-A5QKqCo9TTdzmK13WRSAfkrkeUqHc4yQCzy4ZZ9uX2M=";
};
nativeBuildInputs = [
godot3-headless
unzip
];
buildInputs = [
alsa-lib
gcc-unwrapped.lib
git
libGLU
libX11
libXcursor
libXext
libXfixes
libXi
libXinerama
libXrandr
libXrender
libglvnd
libpulseaudio
zlib
];
buildPhase = ''
runHook preBuild
# Cannot create file '/homeless-shelter/.config/godot/projects/...'
export HOME=$TMPDIR
# Link the export-templates to the expected location. The --export commands
# expects the template-file at .../templates/3.2.3.stable/linux_x11_64_release
# with 3.2.3 being the version of godot.
mkdir -p $HOME/.local/share/godot
ln -s ${godot3-export-templates}/share/godot/templates $HOME/.local/share/godot
mkdir -p $out/bin/
cd source/
godot3-headless --export "Linux/X11" $out/bin/4d-minesweeper
runHook postBuild
'';
dontInstall = true;
dontFixup = true;
dontStrip = true;
meta = {
homepage = "https://github.com/gapophustu/4D-Minesweeper";
description = "4D Minesweeper game written in Godot";
license = lib.licenses.mpl20;
platforms = lib.platforms.linux;
maintainers = [ ];
mainProgram = "4d-minesweeper";
};
}

View File

@@ -0,0 +1,12 @@
diff -Naur 4th-3.64.0-old/sources/Makefile 4th-3.64.0-new/sources/Makefile
--- 4th-3.64.0-old/sources/Makefile 2022-03-15 12:37:45.925122854 -0300
+++ 4th-3.64.0-new/sources/Makefile 2022-03-15 12:38:50.987870211 -0300
@@ -125,7 +125,7 @@
install: mostlyinstall
install -Dm644 ../documentation/4th.1 $(MANDIR)/man1/4th.1
- install -Dm644 ../documentation/4tHmanual.txt $(DOCDIR)/4th/
+ install -Dm644 ../documentation/4tHmanual.pdf $(DOCDIR)/4th/
uninstall:
-rm -f $(LIBRARIES)/lib4th.{a,so*}

View File

@@ -0,0 +1,57 @@
{
lib,
stdenv,
fetchurl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "4th";
version = "3.64.1";
src = fetchurl {
url = "https://sourceforge.net/projects/forth-4th/files/4th-${finalAttrs.version}/4th-${finalAttrs.version}-unix.tar.gz";
hash = "sha256-+W6nTNsqrf3Dvr+NbSz3uJdrXVbBI3OHR5v/rs7en+M=";
};
outputs = [
"out"
"man"
];
patches = [
# Fix install manual; report this patch to upstream
./001-install-manual-fixup.diff
];
dontConfigure = true;
makeFlags = [
"-C sources"
"CC:=$(CC)"
"AR:=$(AR)"
];
preInstall = ''
install -d ${placeholder "out"}/bin \
${placeholder "out"}/lib \
${placeholder "out"}/share/doc/4th \
${placeholder "man"}/share/man
'';
installFlags = [
"BINARIES=${placeholder "out"}/bin"
"LIBRARIES=${placeholder "out"}/lib"
"DOCDIR=${placeholder "out"}/share/doc"
"MANDIR=${placeholder "man"}/share/man"
];
meta = {
homepage = "https://thebeez.home.xs4all.nl/4tH/index.html";
description = "Portable Forth compiler";
license = lib.licenses.lgpl3Plus;
mainProgram = "4th";
maintainers = [ ];
platforms = lib.platforms.unix;
};
})
# TODO: set Makefile according to platform

View File

@@ -0,0 +1,39 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
glpk,
gmp,
}:
stdenv.mkDerivation rec {
pname = "4ti2";
version = "1.6.13";
src = fetchFromGitHub {
owner = "4ti2";
repo = "4ti2";
rev = "Release_${builtins.replaceStrings [ "." ] [ "_" ] version}";
hash = "sha256-gbYG55LfVhjJJFJu0L8AWIAnFDViHIW2N1qtS8xOFAc=";
};
nativeBuildInputs = [
autoreconfHook
];
buildInputs = [
glpk
gmp
];
installFlags = [ "install-exec" ];
meta = {
homepage = "https://4ti2.github.io/";
description = "Software package for algebraic, geometric and combinatorial problems on linear spaces";
license = lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = lib.platforms.all;
};
}