mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
pond: init at 0-unstable-2025-01-03 (#560094)
This commit is contained in:
@@ -31588,6 +31588,11 @@
|
||||
githubId = 72203260;
|
||||
name = "wyndon";
|
||||
};
|
||||
wyspr = {
|
||||
name = "wyspr";
|
||||
github = "preprocesor";
|
||||
githubId = 5649544;
|
||||
};
|
||||
wyvie = {
|
||||
email = "elijahrum@gmail.com";
|
||||
github = "alicerum";
|
||||
|
||||
44
pkgs/by-name/po/pond/package.nix
Normal file
44
pkgs/by-name/po/pond/package.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user