pond: init at 0-unstable-2025-01-03 (#560094)

This commit is contained in:
Peder Bergebakken Sundt
2026-09-19 20:13:50 +00:00
committed by GitHub
2 changed files with 49 additions and 0 deletions

View File

@@ -31588,6 +31588,11 @@
githubId = 72203260;
name = "wyndon";
};
wyspr = {
name = "wyspr";
github = "preprocesor";
githubId = 5649544;
};
wyvie = {
email = "elijahrum@gmail.com";
github = "alicerum";

View File

@@ -0,0 +1,44 @@
{
lib,
stdenv,
fetchFromGitLab,
ncurses,
}:
stdenv.mkDerivation {
pname = "pond";
version = "0-unstable-2025-01-03";
strictDeps = true;
__structuredAttrs = true;
src = fetchFromGitLab {
owner = "alice-lefebvre";
repo = "pond";
rev = "6f7620940d896a1717e764da0b4b41c96362ac8d";
hash = "sha256-qQxtEJHRMvR9hmpRbEBmKwuFjjb9FeGLY/LlHdHh+rI=";
};
buildInputs = [ ncurses ];
postPatch = ''
substituteInPlace Makefile \
--replace-fail "gcc" "$CC" \
--replace-fail "-lcurses" "-lncurses"
'';
installPhase = ''
runHook preInstall;
install -m555 -Dt $out/bin bin/pond
runHook postInstall;
'';
meta = {
homepage = "https://gitlab.com/alice-lefebvre/pond";
description = "Software that simulates a little pond";
mainProgram = "pond";
license = lib.licenses.gpl3;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with lib.maintainers; [ wyspr ];
};
}