git.iko.soy/typeable/nixpkgs
on master help sign in
xtris: init at 1.15
commitbeb419bbc0600e2fbb25a49a8b85347749d6fd6a authorajs124 <git@ajs124.de> dateMon 8 Apr 2019, 22:57 (8 years ago) parent42bad1b
2 files changed+29
pkgs/games/xtris/default.nix+27 pkgs/top-level/all-packages.nix+2
pkgs/games/xtris/default.nixnew file+27
@@ -0,0 +1,27 @@
1+{ stdenv, fetchzip, xorg }:
2+stdenv.mkDerivation rec {
3+ name = "xtris-${version}";
4+ version = "1.15";
5+
6+ src = fetchzip {
7+ url = "https://web.archive.org/web/20120315061213/http://www.iagora.com/~espel/xtris/xtris-${version}.tar.gz";
8+ sha256 = "1vqva99lyv7r6f9c7yikk8ahcfh9aq3clvwm4pz964wlbr9mj1v6";
9+ };
10+
11+ patchPhase = ''
12+ sed -i '
13+ s:/usr/local/bin:'$out'/bin:
14+ s:/usr/local/man:'$out'/share/man:
15+ s:mkdir:mkdir -p:g
16+ s:^CFLAGS:#CFLAGS:
17+ ' Makefile
18+ '';
19+ buildInputs = [ xorg.libX11 ];
20+
21+ meta = with stdenv.lib; {
22+ description = "A multi-player version of the classical game of Tetris, for the X Window system";
23+ homepage = https://web.archive.org/web/20120315061213/http://www.iagora.com/~espel/xtris/xtris.html;
24+ license = licenses.gpl2;
25+ platforms = platforms.linux;
26+ };
27+}
pkgs/top-level/all-packages.nix+2
@@ -21530,6 +21530,8 @@ in
2153021530
2153121531 xsokoban = callPackage ../games/xsokoban { };
2153221532
21533+ xtris = callPackage ../games/xtris { };
21534+
2153321535 inherit (callPackage ../games/quake2/yquake2 { })
2153421536 yquake2
2153521537 yquake2-ctf