Commit graph

31 commits

Author SHA1 Message Date
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
Patrick Hilhorst b133532434 treewide: remove some trailing whitespace to please ofborg 2020-10-02 09:01:35 -07:00
Patrick Hilhorst f7e390e6d4 treewide: fix redirected urls (run 3)
Related:
 - 9fc5e7e473
 - 593e11fd94
 - 508ae42a0f

Since the last time I ran this script, the Repology API changed, so I had to
adapt the script used in the previous PR. The new API should be more robust, so
overall this is a positive (no more grepping the error messages for our relevant
data but just a nice json structure).

Here's the new script I used:

```sh
curl https://repology.org/api/v1/repository/nix_unstable/problems \
   | jq -r '.[] | select(.type == "homepage_permanent_https_redirect") | .data | "s@\(.url)@\(.target)@"' \
   | sort | uniq | tee script.sed
find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```

I will also add this script to `maintainers/scripts`.
2020-10-02 09:01:35 -07:00
marius david 43d9d1d7d8 instead: 3.3.1 -> 3.3.2; fix compilation 2020-09-09 10:36:06 -07:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Orivej Desh 5bd1bd08ed instead: 3.3.0 -> 3.3.1 2019-12-09 00:17:28 +00:00
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Pascal Wittmann c999c2c89b
instead: 3.2.2 -> 3.3.0 2019-03-09 21:09:06 +01:00
Pascal Wittmann bae886a951
instead: 3.2.1 -> 3.2.2 2018-09-01 18:35:52 +02:00
Pascal Wittmann 067ed1c5eb
instead: 3.2.0 -> 3.2.1 2018-04-29 16:47:59 +02:00
Pascal Wittmann 7f400f4fb3
instead: 3.0.1 -> 3.2.0 2018-02-26 16:04:30 +01:00
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Pascal Wittmann 972fa2a219
instead: 3.0.0 -> 3.0.1 2017-06-13 21:37:50 +02:00
Orivej Desh 624c216f3c instead: 2.4.1 -> 3.0.0 2017-06-01 01:09:30 +00:00
Pascal Wittmann fe6899e330 instead: 2.4.0 -> 2.4.1 2016-04-22 21:05:38 +02:00
Pascal Wittmann afa7d84529 instead: 2.3.0 -> 2.4.0 2016-03-01 22:54:26 +01:00
zimbatm 69ce5cb656 use the sourceforge mirrors everywhere
find pkgs -name "*.nix" -exec sed -r \
    "s|https?://downloads.sourceforge.net/|mirror://sourceforge/|g" -i {} \;
2016-02-28 12:07:42 +00:00
Pascal Wittmann 21bec67a17 instead: 2.2.7 -> 2.3.0 2015-10-28 17:43:41 +01:00
Pascal Wittmann e1d7f18cc5 instead: 2.2.5 -> 2.2.7 2015-10-26 14:45:14 +01:00
Pascal Wittmann eda0134193 instead: 2.2.3 -> 2.2.5 2015-09-08 18:11:50 +02:00
Pascal Wittmann 2402390766 instead: update from 2.2.2 to 2.2.3 2015-04-08 16:06:09 +02:00
Pascal Wittmann 24c91295c1 instead: update from 2.2.1 to 2.2.2 2015-02-07 12:47:42 +01:00
Pascal Wittmann 80b13069db instead: update from 2.2.0 to 2.2.1 2015-02-03 10:43:41 +01:00
Pascal Wittmann 6f27834e3a instead: update from 1.9.1 to 2.2.0 and adopt it 2015-01-15 00:42:17 +01:00
Mateusz Kowalczyk 7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Sergey Mironov d5ddce7f76 instead: version 1.9.1, icon, .desktop, few more games
Instead is a textquest game engine. Games are located at

http://instead-games.sourceforge.net/
http://instead-games.ru/
2013-08-18 19:34:23 +02: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
Lluís Batlle i Rossell b8bda4fec0 Adding another game to instead.
svn path=/nixpkgs/branches/stdenv-updates/; revision=25214
2010-12-20 17:34:49 +00:00
Lluís Batlle i Rossell 1019692db7 Adding the game engine 'instead' and some games.
svn path=/nixpkgs/trunk/; revision=24009
2010-09-30 18:58:48 +00:00