summary refs log tree commit diff
path: root/pkgs/games/uqm
AgeCommit message (Collapse)AuthorFilesLines
2021-01-24uqm: Fix evaluation of 3DO video packageaszlig2-6/+4
Regression introduced by 2e34288f0d8cf01eea228c7dbc50af9589b885f3. The commit in question just used the "lib" attribute, but it wasn't in scope. In addition to bringeng the lib attribute into scope, I also removed the "with lib;", which should make sure that we get an error when just parsing (nix-instantiate --parse) the Nix expression. Signed-off-by: aszlig <aszlig@nix.build>
2021-01-16pkgs/games: pkg-config -> pkgconfig (2)Ben Siraphob1-2/+2
2021-01-15pkgs/games: stdenv.lib -> libBen Siraphob2-3/+3
2020-09-18uqm: Fix purity checking error during config phaseaszlig1-1/+3
Since commit fb777be7d2925ec0e97783ce5e3a0136361dc0a8, linking programs in /tmp will no longer work, since with this commit (hardcoded) /tmp will no longer be treated a valid temporary directory by the purity checking logic. Essentially what that logic does is checking whether the link target is either relative, in some temporary directory or in the Nix store and if that's not the case, an error is thrown like in this case: gcc -c /tmp/build.24.tmp.c -o /tmp/build.24.tmp.c.o gcc /tmp/build.24.tmp.c.o -o /tmp/build.24.tmp.out impure path `/tmp/build.24.tmp.out' used in link collect2: error: ld returned 1 exit status Note here, that $TMP and $TMPDIR point to /build while the output here still refers to /tmp. This is because the custom build system of uqm simply hardcodes /tmp and doesn't honor any of these variables. To fix this, all we need to do is the latter and we're now using $TMPDIR instead of /tmp for these compile-tests during configure. While the pull request[1] introducing said commit has a few comments regarding other issues and it could still be either reverted or changed, using $TMPDIR in the uqm build script is entirely backwards-compatible and shouldn't hurt in any case. [1]: https://github.com/NixOS/nixpkgs/pull/93560 Signed-off-by: aszlig <aszlig@nix.build>
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly1-1/+1
2019-11-18treewide: Get rid of libGLU_combinedadisbladis1-2/+2
2019-08-15treewide: name -> pname (easy cases) (#66585)volth1-1/+1
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
2018-07-21pkgs/*: remove unreferenced function argumentsvolth1-1/+1
2018-03-05Merge branch 'master'Vladimír Čunát1-1/+1
2018-03-04Give working advice for running nix-prefetch-urlAnders Kaseorg1-1/+1
nix-prefetch-url file://… requires a full path. Suggest an invocation that will provide one. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-02-24treewide: transition mesa to libGLU_combinedAlexander V. Nikolaev1-2/+2
2017-11-08uqm: Remove the -lgcc_s hackaszlig1-5/+0
This is no longer needed and I've verified this by building and running the game. Signed-off-by: aszlig <aszlig@nix.build>
2017-11-08uqm: Fix build against glibc 2.26aszlig1-0/+5
I've bisected the introduction of the build failure to be the glibc 2.26 upgrade with commit 9bb67d5c1e546968fa3d195f0bcad82414243566. At first I was somewhat stumped why an glibc update could cause undeclared identifiers, but after looking at the changes of glibc and the source code of The Ur-Quan Masters the problem quickly turned out to be this very change: https://sourceware.org/git/?p=glibc.git;a=commit;h=7b037c095e31c2396d0a9b0e6356bc566ee4812f So string.h now in turn includes strings.h, which in theory wouldn't be a problem. However, both strings.h and the strings.h in the uqm source code use constant _STRINGS_H, which causes the glibc strings.h to be included but the one from uqm basically includes an empty file. Signed-off-by: aszlig <aszlig@nix.build>
2017-11-08uqm: Clean up package expression styleaszlig2-26/+24
The only functional change here is that I've dropped unzip, because that dependency doesn't seem to be necessary at all. Despite the broken build state I've tried building and running The Ur-Quan Masters with an older nixpkgs revision and it works fine. Other than that there are no references in the source code for unzip except in the binary installer and some of the INSTALL files. The reason why I'm removing the "with pkgs.lib;" is that it makes it easier to quickly check for errors with "nix-instantiate --parse". Signed-off-by: aszlig <aszlig@nix.build> Cc: @jcumming
2017-09-21misc pkgs: Basic sed to get fix `pkgconfig` and `autoreconfHook` `buildInputs`John Ericson1-1/+2
Only acts on one-line dependency lists.
2017-07-04lib: introduce imap0, imap1 (#25543)zimbatm1-1/+1
* lib: introduce imap0, imap1 For historical reasons, imap starts counting at 1 and it's not consistent with the rest of the lib. So for now we split imap into imap0 that starts counting at zero and imap1 that starts counting at 1. And imap is marked as deprecated. See https://github.com/NixOS/nixpkgs/commit/c71e2d42359f9900ea2c290d141c0d606471da16#commitcomment-21873221 * replace uses of lib.imap * lib: move imap to deprecated.nix
2016-08-02treewide: Add lots of meta.platformsTuomas Tynkkynen1-0/+1
Build-tested on x86_64 Linux & Mac.
2015-05-07uqm: Bring back package and fix 3do extractor.aszlig2-0/+168
It was dropped in 324719a5a611501d7b54e14f205465f5da1242b1. The UQM package itself doesn't require Haskell, but in order to extract contents from the 3do version of the game, we need to have a small helper utility which I wrote in Haskell a while ago. In order to switch it to Haskell NG, only very minor modifications were necessary, which are now done with this commit instead of dropping the whole game. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-05Drop obsolete pre-NG Haskell builds.Peter Simons2-171/+0
2014-07-28Turn some license strings into lib.licenses valuesMateusz Kowalczyk1-1/+1
2013-08-15uqm: Add myself to the maintainers list.aszlig1-1/+1
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-08-15uqm: Symlink addons and packages.aszlig1-4/+4
Copying these over to the output path of the main derivation will just unnecessarily blow up the size of it with files we already have in the store anyway. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-08-15uqm: Add an option to use the remix packs.aszlig1-2/+21
The remix packs are a collection of newly remixed versions of the old music from the PC/3DO versions. By using useRemixPacks these are fetched as well and added to the game. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-08-15uqm: Convert base16 SHA256 hashes to base32.aszlig1-4/+4
We want to have shorter SHAs, don't we? :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-08-15uqm: Switch to using fetchurl for uqm3donix.aszlig2-8/+7
As we now have a tagged first release, it really doesn't make sense to introduce additional dependencies by using fetchgit. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-08-14uqm: Update video extractor to latest Git version.aszlig1-2/+2
This updates the 3DO video extractor to the latest Git version, which should fix a too restrictive dependency on base which leads to it not compiling with current nixpkgs. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-05-16uqm: Include optional support for 3DO videos.aszlig2-6/+81
This is optional because you have to have an image of a Star Control II 3DO CD image. I decided to hack together a small OperaFS (that's the proprietary filesystem used with 3DO CD-ROMs) file extractor, which should possibly make it as painless as possible to include those videos. It may be a good idea to split off the haskell package into another attribute set (possibly haskellPackages?), but I really don't think there is a need for that, because it's really just UQM and 3DO specific. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-01-14Get rid of the "sf" alias for "sourceforge"Eelco Dolstra1-4/+4
2012-10-05 - clean up openttd, rili, uqm, and widelands descriptionsJack Cummings1-1/+7
2012-10-04 - add myself as a maintainer for the packages I've addedJack Cummings1-0/+1
2012-10-04 - openttd 1.2.2, rili 2.0.1, widelands-build17, uqm-0.7.0Jack Cummings1-0/+71