pingus: unstable-0.7.6.0.20191104 -> 0.7.6-unstable-2025-07-21 (#451098)

This commit is contained in:
7c6f434c
2025-10-18 06:30:15 +00:00
committed by GitHub
12 changed files with 494 additions and 26 deletions
+38
View File
@@ -0,0 +1,38 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
gtest,
tinycmmc,
}:
stdenv.mkDerivation {
pname = "argpp";
version = "0-unstable-2022-08-14";
src = fetchFromGitHub {
owner = "Grumbel";
repo = "argpp";
rev = "9e1d54f8ed20af0aa5857e6653ab605b2ab63d5c";
sha256 = "sha256-unfAFxgvv1BOUEqrYYMFfouGe2xIcKJ3ithCel1P9sc=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
gtest
tinycmmc
];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = {
description = "Argument Parser for C++";
maintainers = [ lib.maintainers.SchweGELBin ];
platforms = lib.platforms.linux;
license = lib.licenses.free;
};
}
+47
View File
@@ -0,0 +1,47 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
glm,
gtest,
tinycmmc,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "geomcpp";
version = "0.0.0-unstable-2025-06-11";
src = fetchFromGitHub {
owner = "Grumbel";
repo = "geomcpp";
rev = "282e3710fbe6dacee630391e4af8ffe03181f8a9";
sha256 = "sha256-M4a6P6J/PBDklpOiR81Nah0STlXFI48+mQkNqMBicKQ=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
gtest
tinycmmc
];
propagatedBuildInputs = [ glm ];
cmakeFlags = [
"-DWARNINGS=ON"
"-DWERROR=ON"
"-DBUILD_TESTS=ON"
];
doCheck = true;
postPatch = ''
echo $version > VERSION
'';
meta = {
description = "Collection of point, size and rect classes";
maintainers = [ lib.maintainers.SchweGELBin ];
platforms = lib.platforms.linux;
license = lib.licenses.free;
};
})
+31
View File
@@ -0,0 +1,31 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
tinycmmc,
fmt,
}:
stdenv.mkDerivation {
pname = "logmich";
version = "0.1.0-unstable-2025-07-21";
src = fetchFromGitHub {
owner = "logmich";
repo = "logmich";
rev = "c73c7b7d6cd050d1bcc42d522ce80a2eb86da5c8";
sha256 = "sha256-e8k/ZzPAfLgNF30wmXHDX5ovK/msTH6sgzxWKzZhtOY=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ tinycmmc ];
propagatedBuildInputs = [ fmt ];
meta = {
description = "A trivial logging library";
maintainers = [ lib.maintainers.SchweGELBin ];
platforms = lib.platforms.linux;
license = lib.licenses.zlib;
};
}
+57 -26
View File
@@ -1,55 +1,86 @@
{
lib,
stdenv,
fetchgit,
fetchFromGitHub,
cmake,
pkg-config,
makeWrapper,
libGL,
libGLU,
SDL2,
SDL2_image,
boost,
fmt,
gtest,
libpng,
SDL2_mixer,
pkg-config,
libGLU,
libGL,
git,
jsoncpp,
libsigcxx,
argpp,
geomcpp,
logmich,
priocpp,
strutcpp,
tinycmmc,
tinygettext,
uitest,
wstsound,
xdgcpp,
}:
stdenv.mkDerivation {
pname = "pingus";
version = "unstable-0.7.6.0.20191104";
version = "0.7.6-unstable-2025-07-21";
src = fetchFromGitHub {
owner = "Pingus";
repo = "pingus";
rev = "b0ceeeeb95428c73b1b81208211535c61acfc5d0";
sha256 = "sha256-jQYZM7VLqbl9/+QXyswEXdGmwOq/nxRzWARvcDqNM9M=";
};
nativeBuildInputs = [
cmake
pkg-config
git
makeWrapper
];
buildInputs = [
libGL
libGLU
SDL2
SDL2_image
boost
fmt
gtest
libpng
SDL2_mixer
libGLU
libGL
jsoncpp
libsigcxx
argpp
geomcpp
logmich
priocpp
strutcpp
tinycmmc
tinygettext
uitest
wstsound
xdgcpp
];
src = fetchgit {
url = "https://gitlab.com/pingus/pingus/";
rev = "709546d9b9c4d6d5f45fc9112b45ac10c7f9417d";
sha256 = "11mmzk0766riaw5qyd1r5i7s7vczbbzfccm92bvgrm99iy1sj022";
fetchSubmodules = true;
};
postPatch = ''
# Fix missing gcc-13 headers
sed -e '1i #include <cstdint>' -i src/util/pathname.hpp
'';
cmakeFlags = [
"-DWARNINGS=ON"
"-DWERROR=ON"
"-DBUILD_EXTRA=OFF"
"-DBUILD_TESTS=OFF"
];
doCheck = true;
meta = {
description = "Puzzle game with mechanics similar to Lemmings";
homepage = "https://pingus.seul.org/";
mainProgram = "pingus";
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.raskin ];
maintainers = with lib.maintainers; [
raskin
SchweGELBin
];
license = lib.licenses.gpl3;
};
}
+54
View File
@@ -0,0 +1,54 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
fmt,
gtest,
logmich,
tinycmmc,
jsoncpp,
sexp-cpp,
}:
stdenv.mkDerivation {
pname = "priocpp";
version = "0.0.0-unstable-2025-07-21";
src = fetchFromGitHub {
owner = "Grumbel";
repo = "priocpp";
rev = "b2664449adcaed93f609e3ea1fb68f8295390ce9";
sha256 = "sha256-tn0UNK+rQQPpSgTexOKyROOvX6ynEHFUj+gk11dlh/8=";
};
nativeBuildInputs = [
cmake
pkg-config
];
propagatedBuildInputs = [
fmt
gtest
logmich
tinycmmc
jsoncpp
sexp-cpp
];
cmakeFlags = [
"-DBUILD_EXTRA=ON"
"-DBUILD_TESTS=ON"
"-DPRIO_USE_JSONCPP=ON"
"-DPRIO_USE_SEXPCPP=ON"
];
doCheck = true;
meta = {
description = "Property I/O for C++";
maintainers = [ lib.maintainers.SchweGELBin ];
platforms = lib.platforms.linux;
license = lib.licenses.free;
};
}
+45
View File
@@ -0,0 +1,45 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
gtest,
tinycmmc,
}:
stdenv.mkDerivation {
pname = "sexp-cpp";
version = "0.1.0-unstable-2025-07-21";
src = fetchFromGitHub {
owner = "lispparser";
repo = "sexp-cpp";
rev = "677b6f3ecd54e92339d33062084b081ebb9f14a6";
sha256 = "sha256-/wH9Cgo+4eyYRyUcYRNkYR38rLRv/mJq87dpE9wCPlw=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
gtest
tinycmmc
];
cmakeFlags = [
"-DBUILD_TESTS=ON"
"-DUSE_CXX17=ON"
];
doCheck = true;
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = {
description = "S-Expression parser for C++";
maintainers = [ lib.maintainers.SchweGELBin ];
platforms = lib.platforms.linux;
license = lib.licenses.gpl3;
};
}
+39
View File
@@ -0,0 +1,39 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
gtest,
tinycmmc,
}:
stdenv.mkDerivation {
pname = "strutcpp";
version = "0-unstable-2025-07-21";
src = fetchFromGitHub {
owner = "Grumbel";
repo = "strutcpp";
rev = "3c9cbf6cd0e09b34e464a0ff01aca99290d79870";
sha256 = "sha256-pyLNbjvhGjEOGcj4Krtcm/Rms2rvBfWD1lqrEmm7gnI=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
gtest
tinycmmc
];
cmakeFlags = [
"-DBUILD_TESTS=ON"
];
doCheck = true;
meta = {
description = "Collection of string utilities";
maintainers = [ lib.maintainers.SchweGELBin ];
platforms = lib.platforms.linux;
license = lib.licenses.free;
};
}
+27
View File
@@ -0,0 +1,27 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation {
pname = "tinycmmc";
version = "0.1.0-unstable-2025-07-21";
src = fetchFromGitHub {
owner = "Grumbel";
repo = "tinycmmc";
rev = "caf1af301e388e97dca31ee7fdc12f17cff34f82";
sha256 = "sha256-62ykvAIfOCXH+3bF1IkR+WukeJBLcYC/4Mv3ptqAxEM=";
};
nativeBuildInputs = [ cmake ];
meta = {
description = "Tiny CMake Module Collections";
maintainers = [ lib.maintainers.SchweGELBin ];
platforms = lib.platforms.linux;
license = lib.licenses.zlib;
};
}
+31
View File
@@ -0,0 +1,31 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
tinycmmc,
libiconv,
}:
stdenv.mkDerivation {
pname = "tinygettext";
version = "0.1.0-unstable-2025-05-07";
src = fetchFromGitHub {
owner = "tinygettext";
repo = "tinygettext";
rev = "ef4164639004d7de5bf8ab28ed0e85ea521b7c5e";
sha256 = "sha256-if+uiVzDA3J+0HM6bVcXvm4lk82TmQmFHG4MtaxIFCk=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ tinycmmc ];
propagatedBuildInputs = [ libiconv ];
meta = {
description = "A simple gettext replacement that works directly on .po files";
maintainers = [ lib.maintainers.SchweGELBin ];
platforms = lib.platforms.linux;
license = lib.licenses.zlib;
};
}
+34
View File
@@ -0,0 +1,34 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
tinycmmc,
}:
stdenv.mkDerivation {
pname = "uitest";
version = "0-unstable-2024-05-26";
src = fetchFromGitHub {
owner = "Grumbel";
repo = "uitest";
rev = "d845427140cbcbce99bb6c72919199ac5f033784";
sha256 = "sha256-xD2Ecs9hW3lcQW6RNcjVhGX/eor2RbCHHXohTafC9y0=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ tinycmmc ];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = {
description = "Simple testing framework for interactive tests";
maintainers = [ lib.maintainers.SchweGELBin ];
platforms = lib.platforms.linux;
license = lib.licenses.gpl3;
};
}
+64
View File
@@ -0,0 +1,64 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
gtest,
tinycmmc,
libmodplug,
libogg,
libvorbis,
mpg123,
openal,
opusfile,
libopus,
}:
stdenv.mkDerivation {
pname = "wstsound";
version = "0.3.0-unstable-2025-07-21";
src = fetchFromGitHub {
owner = "WindstilleTeam";
repo = "wstsound";
rev = "2c7b00dc1af52432185dc28c4ae87c09c9f4f444";
sha256 = "sha256-fus1ydypnDDHsQwMkYyZuRikZLbZXLlc/cY8Qol5Hwo=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
gtest
tinycmmc
];
propagatedBuildInputs = [
libmodplug
libogg
libvorbis
mpg123
openal
opusfile
libopus
];
cmakeFlags = [
"-DWARNINGS=ON"
"-DWERROR=ON"
"-DBUILD_TESTS=ON"
"-DBUILD_EXTRA=ON"
];
# Test "openal_info fails"
doCheck = false;
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "COMMAND openal_info" "COMMAND openal-info"
'';
meta = {
description = "Windstille Sound Library";
maintainers = [ lib.maintainers.SchweGELBin ];
platforms = lib.platforms.linux;
license = lib.licenses.free;
};
}
+27
View File
@@ -0,0 +1,27 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation {
pname = "xdgcpp";
version = "0-unstable-2024-05-26";
src = fetchFromGitHub {
owner = "Grumbel";
repo = "xdgcpp";
rev = "e2c40c081e2ee2d315d1d0b3ae5981d5fd77260e";
sha256 = "sha256-eujYRUw8UpDFgEvjHUPsJ/QJN+A+hzcebfgteM9kvXM=";
};
nativeBuildInputs = [ cmake ];
meta = {
description = "Implementation of the XDG Base Directory Specification in C++";
maintainers = [ lib.maintainers.SchweGELBin ];
platforms = lib.platforms.linux;
license = lib.licenses.lgpl3;
};
}