Commit Graph

46 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
George Huebner
249b9513d5 nethack: update darwin hints file 2024-03-18 09:02:52 +01:00
Weijia Wang
4faf76b3dc nethack: disable parallel building 2024-03-18 05:57:31 +01:00
Adam Jedrzejewski
eaffd2500f nethack: enable curses on darwin 2024-02-20 14:36:19 +01:00
Felix Buehler
555fd30100 nethack: add desktop icon 2024-01-26 23:01:56 +01:00
Stanisław Pitucha
c4ee55d661 nethack-qt: fix darwin build 2023-03-21 14:00:04 +11:00
toastal
06365ba454 nethack: 3.6.6 → 3.6.7
Release notes: https://www.nethack.org/v367/release.html

> This release primarily corrects a security issue present in NetHack versions 3.6.2, 3.6.3, 3.6.4, 3.6.5, and 3.6.6

More info: https://www.nethack.org/security/CVE-2023-24809.html
2023-02-18 23:39:43 +00:00
Maximilian Bosch
6b98a5e512
nethack-qt: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/156236800
2022-02-27 10:26:53 +01:00
Felix Buehler
4a403f9e33 treewide: rename name to pname&version 2022-01-17 19:09:37 +01:00
Ben Siraphob
223f25cf4a treewide: add targetPrefix to hardcoded references to CC=cc 2021-02-20 01:01:46 +07:00
Ben Siraphob
bd42003f87 pkgs/games: pkg-config -> pkgconfig (2) 2021-01-16 23:49:59 -08:00
Ben Siraphob
2e34288f0d pkgs/games: stdenv.lib -> lib 2021-01-15 13:36:04 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Maximilian Bosch
dcda17d856
nethack: 3.6.5 -> 3.6.6 2020-03-21 22:06:49 +01:00
Alexey Shmalko
05928690e1
nethack: 3.6.2 -> 3.6.5 2020-02-13 18:31:58 +02:00
Marek Mahut
6f9fa0644a nethack: wrapQtApp only in qtMode
Regression introduced in #54525, tracked in #65399.
2019-07-28 23:23:19 +02:00
Thomas Tuegel
51d78034a1
wrapQtAppsHook: Remove ad hoc Qt wrappers 2019-07-05 10:42:08 -05:00
Chris Rendle-Short
926490c862 nethack: 3.6.1 -> 3.6.2
Notes:
  - libXpm added as a new dependency for nethack-x11.
  - moc path fixed for nethack-qt.
2019-05-10 11:44:18 +10:00
Linus Heckemann
6776bc7678 nethack: only install dlb for text-mode 2018-09-20 19:04:36 +01:00
Linus Heckemann
ec42304022 nethack: add bdftopcf for GUIs 2018-09-20 19:04:36 +01:00
Linus Heckemann
c9728a4dcf nethack: document cross-compilation fix 2018-09-20 18:47:13 +01:00
Linus Heckemann
86b1f5c710 nethack: enable cross-compilation
also parallel building
2018-09-20 19:32:36 +02:00
Linus Heckemann
6af4a8e6d7 nethack: remove build-time dependency on qt
Unless qtMode is enabled :)
2018-09-19 20:26:31 +02:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Matthew Bauer
29b5ca82ee nethack: remove debug symbols
These were adding gcc to the closure
2018-08-08 11:37:34 -04:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Franz Pletz
de24fd7525
nethack: add qt plugin wrapper 2018-07-15 23:06:59 +02:00
Guanpeng Xu
935332d648 nethack: add qt support on linux 2018-07-15 14:18:55 +08:00
nonfreeblob
1627b6fc09 nethack: nethack-x11 package created
If x11Mode is false, ncurses NetHack version will be built (nethack).
If x11Mode is true, x11 NetHack version will be built (nethack-x11).
NetHack DevTeam provide x11 version support only for Linux.
2018-06-30 14:48:20 +03:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Raymond Hogenson
ed628fb74e nethack: 3.6.0 -> 3.6.1 2018-06-09 19:33:13 -07:00
John Ericson
94cbd14120 nethack: Fix platform logic 2018-03-12 18:55:41 -04:00
Vladimír Čunát
3a110ea3f9
treewide platform checks: abort -> throw
They aren't meant to be critical (uncatchable) errors.
Tested with nix-env + checkMeta:
[ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]
2017-12-12 18:08:10 -05:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Nikolay Amiantov
11d76ef891 nethack: add utils to path 2017-04-10 02:20:34 +03:00
Sheena Artrip
737e047439
nethack: include xlogfile as copied file in nethackuserdir 2016-06-03 02:46:34 -04:00
Matthew Bauer
818f2cd19f nethack: fix darwin support 2016-02-28 21:04:23 -06:00
Nikolay Amiantov
b6c9ce9b03 nethack: fix the last-minute fix 2015-12-08 18:10:53 +03:00
Nikolay Amiantov
459a5c5803 nethack: 3.4.3 -> 3.6.0
I think a decade has passed ^_^
2015-12-08 17:52:09 +03:00
Nikolay Amiantov
6e049800ed nethack: update, adopt 2015-07-28 12:33:29 +03:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Marc Weber
f7f938a1d1 big breaking change: renaming lib.getAttr to lib.attrByPath
getAttr was ambiguous. It's also a builtin function

fix

svn path=/nixpkgs/trunk/; revision=15692
2009-05-24 10:57:41 +00:00
Marc Weber
52647ea3b0 FullDepEntry -> fullDepEntry, PackEntry -> packEntry
svn path=/nixpkgs/trunk/; revision=15662
2009-05-19 23:25:58 +00:00
Michael Raskin
fed0f330e7 Fix nethack/zangband wrappers
svn path=/nixpkgs/trunk/; revision=15575
2009-05-12 16:03:10 +00:00
Michael Raskin
95d28d5247 Adding nethack
svn path=/nixpkgs/trunk/; revision=15560
2009-05-12 04:27:10 +00:00