Commit Graph

169 Commits

Author SHA1 Message Date
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
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Mario Rodas
7c7ee58775
Merge pull request #98229 from bbigras/df
dwarf-fortress: update themes.json
2020-09-20 19:42:18 -05:00
Gabriel Ebner
cdcdeb63b2 dwarf-fortress: use jdk8 2020-09-19 14:06:15 +02:00
Bruno Bigras
5427e43b08 dwarf-fortress: update themes.json 2020-09-18 13:44:06 -04:00
Cole Helbling
e2b09f42ba dwarf-fortress: TWBT: use fork for dfhack 0.47.04 support
The original mifki TWBT hasn't been updated since April 2019, while
thurin's fork has added support for dfhack 0.47.04-r2. Thus, switch to
thurin's fork when Dwarf Fortress 0.47.04 is used (and ever-so-slightly
special case the url attribute).
2020-08-21 14:45:53 -07:00
Cole Helbling
50bf68669a dfhack: fix ruby plugin
dfhack expects an unversioned libruby.so to be present in the hack
subdirectory for ruby plugins to function. The glob is necessary,
because the ruby package's library names are formatted as
ruby-${version}.so for whatever reason. The glob makes it possible for
ruby to update without manual intervention being needed here.
2020-08-21 14:45:53 -07:00
Cole Helbling
5db4a65384 dfhack: 0.47.04-alpha0 -> 0.47.04-r2
As of
56e43a0dde,
dfhack gets its goodies from the directory above the Dwarf_Fortress
executable, which leads to stock Dwarf Fortress and not the built
environment where all the dfhack resources are symlinked to (typically
~/.local/share/df_linux). This causes errors like `tweak is not a
recognized command` to be reported and dfhack to lose some of its
functionality.
2020-08-21 14:45:53 -07:00
Matthew Piziak
879778c583 add enableSound parameter to dwarf-fortress derivation
try hardcoding

add back whitespace
2020-05-17 22:18:39 -04:00
Jörg Thalheim
887295fd2d
treewide: remove the-kenny from maintainers
@the-kenny did a good job in the past and is set as maintainer in many package,
however since 2017-2018 he stopped contributing. To create less confusion
in pull requests when people try to request his feedback, I removed him as
maintainer from all packages.
2020-05-09 10:28:57 +01:00
Pavol Rusnak
7b0167204d treewide: use https for nixos.org and hydra.nixos.org
tarballs.nixos.org is omitted from the change because urls from there
are always hashed and checked
2020-05-03 22:14:21 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jonathan Ringer
c9f216d5d5 dwarf-fortress: 0.47.02 -> 0.47.04 2020-03-13 14:46:55 -07:00
Jonathan Ringer
29f7f3037e dwarf-therapist: 41.1.3 -> 41.1.5 2020-03-13 14:46:55 -07:00
Jonathan Ringer
d2b745d617 dwarf-fortress: 0.44.12 -> 0.47.02 2020-02-14 12:50:12 -08:00
Jonathan Ringer
381e86a782 dwarf-fortress.dfhack: add 0.47.02-alpha0 release 2020-02-14 12:50:12 -08:00
Jonathan Ringer
71af0ea361 dwarf-fortress.twbt: add 6.61 release
This is just the latest release, there hasn't been
a release for a few months.
2020-02-14 12:50:12 -08:00
Jonathan Ringer
016dcfe514 dwarf-therapist: 41.1.2 -> 41.1.3 2020-02-14 12:50:12 -08:00
Andrey Petrov
be32c3caac dwarf-fortress-packages.unfuck: 0.47.01 -> 0.47.02 release
Temporarily using 0.47.01 release for 0.47.02, since there's no
corresponding unfuck release yet and it seems to work.
2020-02-09 17:46:19 -08:00
Andrey Petrov
d51838db20 dwarf-fortress: fix update.sh script for games.json 2020-02-09 17:46:19 -08:00
Andrey Petrov
b865fb3573 dwarf-fortress-packages.dwarf-fortress_0_47_02: init 2020-02-09 17:46:19 -08:00
Andrey Petrov
0a4265c077 dwarf-fortress: update themes.json 2020-02-09 17:46:19 -08:00
Andrey Petrov
1a0f594981 dwarf-fortress: Update themes.json 2020-02-03 00:57:53 -08:00
Andrey Petrov
662589574b dwarf-fortress: Add update script for themes 2020-02-03 00:57:53 -08:00
Jonathan Ringer
e293cf9117 dwarf-fortress-packages.dwarf-therapist: 41.0.2 -> 41.1.2 2020-02-02 16:04:30 -08:00
Jonathan Ringer
349bf18212 dwarf-fortress-packages.unfuck: add 0.47.0.1 release 2020-02-02 16:04:30 -08:00
Jonathan Ringer
fc82682d3a dwarf-fortress-packages.dwarf-fortress_0_47_01: init 2020-02-02 16:04:30 -08:00
Anders Kaseorg
3cd8ce3bce treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted.  (See #67234, for
example.)  Fix this throughout the tree.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-15 09:47:03 +01:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Joachim Fasting
bad07dfac5
tree-wide: replace uses of splitString "." with lib.versions
Quoting from the splitString docstring:

   NOTE: this function is not performant and should never be used.

This replaces trivial uses of splitString for splitting version
strings with the (potentially builtin) splitVersion.
2019-09-26 17:42:49 +02:00
volth
7bb6b373ab treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Nikolay Amiantov
ccbb08ed88 dwarf-fortress-packages.dwarf-therapist-original: expose to package set
Needed for it to be built on Hydra.
2019-06-10 18:52:52 +03:00
TrevtheForthDev
3fcd66cce8 Added EnableTextMode Dwarf Fortress for playing CLI 2019-05-08 04:07:21 +09:00
lassulus
0cd1e6732d dwarf-fortress: fix theme override 2018-11-08 01:59:56 +01:00
lassulus
290dd06d14 dwarf-fortress: fix most of customization options
see #49779
close #49803
2018-11-06 01:00:17 +01:00
lassulus
0d57159eca dwarf-fortress: fix build error 2018-10-08 22:21:09 +02:00
Morgan Jones
213b5457fc Inline JSON files 2018-09-09 07:15:59 +00:00
Morgan Jones
2cd2571edd Update twbt to 6.54 2018-09-09 07:03:59 +00:00
Morgan Jones
5f1013d875 Use stdenv.mkDerivation for Therapist wrapper 2018-09-09 06:59:58 +00:00
Morgan Jones
870f05c975 Fix dangling DFHack "Git:" version text 2018-09-09 06:59:58 +00:00
Morgan Jones
fe847fcc92 Therapist needs to depend on the DF version, since it uses its MD5 2018-09-09 06:59:58 +00:00
Morgan Jones
7a5521537a Let the user override dfVersion in dwarf-fortress-full 2018-09-09 06:59:58 +00:00
Morgan Jones
f14d3b4795 Fix dfhack's Dwarf Fortress MD5 in the correct environment 2018-09-09 06:59:41 +00:00
Morgan Jones
4ada74e293 dwarf-fortress: Support multiple unfuck/dfhack/TWBT versions 2018-09-09 06:59:41 +00: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