diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 8495bc41199a..9eeda4761001 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -31588,6 +31588,11 @@ githubId = 72203260; name = "wyndon"; }; + wyspr = { + name = "wyspr"; + github = "preprocesor"; + githubId = 5649544; + }; wyvie = { email = "elijahrum@gmail.com"; github = "alicerum"; diff --git a/pkgs/by-name/po/pond/package.nix b/pkgs/by-name/po/pond/package.nix new file mode 100644 index 000000000000..b36b687ee2b4 --- /dev/null +++ b/pkgs/by-name/po/pond/package.nix @@ -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 ]; + }; +}