Commit Graph

57 Commits

Author SHA1 Message Date
R. Ryantm
3292bd5b01 crawl: 0.32.0 -> 0.32.1 2024-09-26 12:31:52 +00:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
387cdfaf65 crawl: 0.31.0 -> 0.32.0 2024-08-30 00:44:09 +00:00
Sigmanificient
d48a9bb622 treewide: remove unused fetchpatch arguments 2024-06-04 12:40:25 +02:00
Nanotwerp
d2095d1d67 crawl: 0.29.0 -> 0.31.0
crawl: delete crawl_purify.patch

Patch replaced by substituteInPlace in the prePatch stage of the default.nix.

crawl: remove default null for darwin

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

crawl: replace prePatch with postPatch

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

crawl: replace 'sha256' with 'hash'

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

crawl: remove unnecessary assert
2024-01-23 19:36:45 -05:00
R. Ryantm
249dfd092c crawlTiles: 0.28.0 -> 0.29.0 2022-08-24 09:48:35 +00:00
R. Ryantm
01f15e008f crawlTiles: 0.27.1 -> 0.28.0 2022-02-10 12:01:08 -08:00
Felix Buehler
4a403f9e33 treewide: rename name to pname&version 2022-01-17 19:09:37 +01:00
R. RyanTM
2caeaca5ff crawl: 0.27.0 -> 0.27.1 2021-08-21 12:48:52 +00:00
R. RyanTM
7d0285d139 crawl: 0.26.1 -> 0.27.0 2021-07-31 10:29:45 +00:00
Ben Siraphob
4b2c44c0a7 treewide: drop conditional makeFlag for darwin when specifiying cross-compiler 2021-02-20 01:02:08 +07:00
Ben Siraphob
223f25cf4a treewide: add targetPrefix to hardcoded references to CC=cc 2021-02-20 01:01:46 +07:00
R. RyanTM
f5bac9f2e9 crawl: 0.26.0 -> 0.26.1 2021-02-06 09:46:08 +00:00
Spencer Baugh
0bdc35a2ed crawl: 0.25.1 -> 0.26.0
FORCE_PKGCONFIG was added upstream in crawl/crawl@61de54256c, so we
can drop our patch to the Makefile which does the same thing - nice!
Still need the other patches since crawl/crawl#1367 isn't yet fully
merged.
2021-01-23 00:27:25 -05:00
Ben Siraphob
bd42003f87 pkgs/games: pkg-config -> pkgconfig (2) 2021-01-16 23:49:59 -08: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
R. RyanTM
bc134692c5 crawl: 0.25.0 -> 0.25.1 2020-09-04 09:41:46 +00:00
Spencer Baugh
27373f56b4 crawl: 0.24.1 -> 0.25.0
Thanks to @emilazy adding support for pkgconfig for SQLite upstream,
we can drop that part of the patch. The rest is still needed.
2020-06-12 21:55:49 -04:00
R. RyanTM
5a79203fbe crawl: 0.24.0 -> 0.24.1 2020-04-07 19:10:58 +00:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Chris Rendle-Short
c972e1b0d5 crawl: 0.23.2 -> 0.24.0 2019-10-28 21:20:42 +11:00
Dave Nicponski
f6ebeb801d crawl: use static config for data files.
This allows the game to be executed from anywhere, not just
the install directory in the nix store.
2019-08-04 16:38:14 -04:00
Dave Nicponski
b3b4184786 games/crawl: add support for MacOS/Darwin builds
games/crawl: Add support for darwin builds.  Also,
compression/advancecomp: Add support for darwin builds in meta (which already worked).
2019-07-28 02:25:17 -04:00
Chris Rendle-Short
82d31fd263 crawl: add .desktop file and use high-res app icon
The crawl source includes .desktop files but currently they are not
installed. This change installs them (with the executable path tweaked
for NixOS compatibility).

Also included in this change is an upstream patch to use the included
high-res app icon instead of the default 32x32 icon. The default icon
is very low res and looks out of place beside other app icons.
2019-04-26 20:14:41 +10:00
lightbulbjim
fd45865b2e crawl: 0.22.1 -> 0.23.2 (#59246)
PyYAML added as a new dependency.
2019-04-11 22:34:04 +02:00
André-Patrick Bubel
d7be766a05
crawl: Add option for sound support and enable it in tileMode by default 2019-02-06 11:18:18 +01:00
André-Patrick Bubel
e06eb19de5
crawl: Add full game name to description
I didn't find the game when searching for it and invested quite some
time to package it myself. Having the game title in the description
makes the package easier to discover.
2019-02-06 11:13:41 +01:00
André-Patrick Bubel
61a20d6d64
crawl: Update repo url 2019-02-06 11:07:31 +01:00
R. RyanTM
b96e52565d crawl: 0.22.0 -> 0.22.1 (#46952)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/crawl/versions
2018-09-28 20:54:49 +02:00
nonfreeblob
3d56684d95 crawl: 0.21.1 -> 0.22.0 2018-08-11 18:10:19 +03:00
Vladimír Čunát
565bd805e6
Merge branch 'master' 2018-03-05 14:53:27 +01:00
Nikolay Amiantov
d2a38974f7 crawl: 0.20.1 -> 0.21.1 2018-02-25 22:24:09 +03:00
Alexander V. Nikolaev
0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02: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
f4312a3024 crawl: 0.19.0 -> 0.20.1 2017-07-27 17:07:44 +03:00
Nikolay Amiantov
e778f8032c crawl: 0.19.1 -> 0.19.3 2017-01-31 03:27:10 +03:00
Nikolay Amiantov
7e1d5eb17d crawl: 0.18.1 -> 0.19.1 2016-11-24 01:17:56 +03:00
Nikolay Amiantov
be95ceaff2 treewide: quote URLs in my packages 2016-11-24 01:17:52 +03:00
Nikolay Amiantov
5d7adc7b09 crawlTiles: fix build 2016-09-04 17:27:39 +03:00
Nikolay Amiantov
58f532216f crawl: fix build 2016-08-24 17:09:54 +03:00
Nikolay Amiantov
309de1364a crawl: 0.18.0 -> 0.18.1 2016-08-14 22:37:08 +03:00
Nikolay Amiantov
01aa42a4ba crawl: 1.17.1 -> 1.18.0 2016-05-28 14:00:15 +03:00
Tuomas Tynkkynen
e80e4ba2bb treewide: Make explicit that 'dev' output of sqlite is used 2016-05-19 10:04:34 +02:00
Nikolay Amiantov
0bf8a1a86d crawl: cleanup 2016-03-06 05:10:20 +03:00
Nikolay Amiantov
1774cee91a crawl: 0.17.0 -> 0.17.1 2016-01-13 21:21:43 +03:00
Florent Becker
4e0cdaa01c crawl: 0.16.2 -> 0.17.0 2015-11-19 14:48:36 +01:00
Nikolay Amiantov
646986d5de crawl: 0.16.1 -> 0.16.2 2015-10-15 17:07:38 +03:00
Nikolay Amiantov
f2692a96a2 fix homepages 2015-07-28 12:33:30 +03:00
Nikolay Amiantov
7a3780a675 crawl: fix build 2015-04-02 01:48:21 +03:00
Nikolay Amiantov
ac900ac7fb crawl: update 2015-03-29 13:05:27 +03:00