···429 helsinki-systems = {
430 # Verify additions to this team with at least one already existing member of the team.
431 members = [
432- ajs124
433 das_j
434 ];
435 scope = "Group registration for packages maintained by Helsinki Systems";
···429 helsinki-systems = {
430 # Verify additions to this team with at least one already existing member of the team.
431 members = [
0432 das_j
433 ];
434 scope = "Group registration for packages maintained by Helsinki Systems";
···1+{ lib
2+, asciidoctor
3+, fetchFromGitLab
4+, ncurses
5+, stdenv
6+}:
7+8+stdenv.mkDerivation (finalAttrs: {
9+ pname = "galaxis";
10+ version = "1.11";
11+12+ src = fetchFromGitLab {
13+ owner = "esr";
14+ repo = "galaxis";
15+ rev = finalAttrs.version;
16+ hash = "sha256-fSzifGoSdWyFGt99slzAsqCMDoeLbBqQGXujX8QAfGc=";
17+ };
18+19+ outputs = [ "out" "man" ];
20+21+ nativeBuildInputs = [
22+ asciidoctor
23+ ];
24+25+ buildInputs = [
26+ ncurses
27+ ];
28+29+ strictDeps = true;
30+31+ makeFlags = [
32+ "CC=${stdenv.cc.targetPrefix}cc"
33+ "galaxis"
34+ "galaxis.6"
35+ ];
36+37+ postPatch = ''
38+ sed -i -E '/[[:space:]]*xmlto/ s|xmlto|xmlto --skip-validation|' Makefile
39+ '';
40+41+ # This is better than sed-patch the Makefile
42+ installPhase = ''
43+ runHook preInstall
44+ mkdir -p $out/bin $man/share/man/man6
45+ install -Dm755 galaxis -t $out/bin/
46+ install -Dm644 galaxis.6 -t $man/share/man/man6
47+ runHook postInstall
48+ '';
49+50+ meta = {
51+ description = "Rescue lifeboats lost in interstellar space";
52+ longDescription = ''
53+ Lifeboats from a crippled interstellar liner are adrift in a starfield. To
54+ find them, you can place probes that look in all eight compass directions
55+ and tell you how many lifeboats they see. If you drop a probe directly on
56+ a lifeboat it will be revealed immediately. Your objective: find the
57+ lifeboats as quickly as possible, before the stranded passengers run out
58+ of oxygen!
59+60+ This is a UNIX-hosted, curses-based clone of the nifty little Macintosh
61+ freeware game Galaxis. It doesn't have the super-simple, point-and-click
62+ interface of the original, but compensates by automating away some of the
63+ game's simpler deductions.
64+ '';
65+ homepage = "http://catb.org/~esr/galaxis/";
66+ license = with lib.licenses; [ gpl2Plus ];
67+ mainProgram = "galaxis";
68+ maintainers = with lib.maintainers; [ AndersonTorres ];
69+ platforms = lib.platforms.linux;
70+ };
71+})
···1-{ lib, stdenv, fetchurl, ncurses, xmlto }:
2-3-with lib;
4-stdenv.mkDerivation rec {
5-6- pname = "galaxis";
7- version = "1.10";
8-9- src = fetchurl{
10- url = "http://www.catb.org/~esr/galaxis/${pname}-${version}.tar.gz";
11- sha256 = "1181x3z4r0794v2bkpigb5fablw1nayj42wvhy2am79p7j1iqq5r";
12- };
13-14- buildInputs = [ ncurses xmlto ];
15-16- patchPhase = ''
17- sed -i\
18- -e 's|^install: galaxis\.6 uninstall|install: galaxis.6|'\
19- -e 's|usr/||g' -e 's|ROOT|DESTDIR|g'\
20- -e 's|install -m 755 -o 0 -g 0|install -m 755|' Makefile
21- '';
22-23- dontConfigure = true;
24-25- makeFlags = [ "DESTDIR=$(out)" ];
26-27- meta = {
28- description = "Rescue lifeboats lost in interstellar space";
29- longDescription = ''
30- Lifeboats from a crippled interstellar liner are adrift in a starfield. To
31- find them, you can place probes that look in all eight compass directions
32- and tell you how many lifeboats they see. If you drop a probe directly on
33- a lifeboat it will be revealed immediately. Your objective: find the
34- lifeboats as quickly as possible, before the stranded passengers run out
35- of oxygen!
36-37- This is a UNIX-hosted, curses-based clone of the nifty little Macintosh
38- freeware game Galaxis. It doesn't have the super-simple, point-and-click
39- interface of the original, but compensates by automating away some of the
40- game's simpler deductions.
41- '';
42- homepage = "http://catb.org/~esr/galaxis/";
43- license = licenses.gpl2;
44- maintainers = [ maintainers.AndersonTorres ];
45- platforms = platforms.linux;
46- };
47-}
···12 pkgs = releaseLib.pkgsForCross crossSystem system;
13 };
14in lib.mapAttrs (n: make) (with lib.systems.examples; {
15- # NOTE: Only add platforms for which there are files in `./bootstrap-files`.
00016 # Sort following the sorting in `./default.nix` `bootstrapFiles` argument.
1718 armv5tel-unknown-linux-gnueabi = sheevaplug;
···12 pkgs = releaseLib.pkgsForCross crossSystem system;
13 };
14in lib.mapAttrs (n: make) (with lib.systems.examples; {
15+ # NOTE: Only add platforms for which there are files in `./bootstrap-files`
16+ # or for which you plan to request the tarball upload soon. See the
17+ # maintainers/scripts/bootstrap-files/README.md
18+ # on how to request an upload.
19 # Sort following the sorting in `./default.nix` `bootstrapFiles` argument.
2021 armv5tel-unknown-linux-gnueabi = sheevaplug;