Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

xskat: new package

Play the german card game Skat against the AI or over IRC.

authored by Tobias Blaschke and committed by Domen Kožar c93e48a2 10e3cf6f

+40
+38
pkgs/games/xskat/default.nix
··· 1 + {stdenv, fetchurl, libX11, imake, gccmakedep}: 2 + 3 + 4 + let 5 + s = # Generated upstream information 6 + rec { 7 + baseName="xskat"; 8 + version="4.0"; 9 + name="${baseName}-${version}"; 10 + 11 + url="http://www.xskat.de/xskat-4.0.tar.gz"; 12 + hash="8ba52797ccbd131dce69b96288f525b0d55dee5de4008733f7a5a51deb831c10"; 13 + sha256="8ba52797ccbd131dce69b96288f525b0d55dee5de4008733f7a5a51deb831c10"; 14 + }; 15 + buildInputs = [ libX11 imake gccmakedep ]; 16 + in 17 + 18 + stdenv.mkDerivation { 19 + inherit (s) name version; 20 + inherit buildInputs; 21 + src = fetchurl { 22 + inherit (s) url sha256; 23 + }; 24 + preInstall = '' 25 + sed -i Makefile \ 26 + -e "s|.* BINDIR .*| BINDIR = $out/bin|" \ 27 + -e "s|.* MANPATH .*| MANPATH = $out/man|" 28 + ''; 29 + installTargets = "install install.man"; 30 + meta = { 31 + inherit (s) version; 32 + description = ''Famous german card game''; 33 + platforms = stdenv.lib.platforms.linux; 34 + license = stdenv.lib.licenses.free; 35 + longDescription = ''Play the german card game Skat against the AI or over IRC.''; 36 + homepage = http://www.xskat.de/; 37 + }; 38 + }
+2
pkgs/top-level/all-packages.nix
··· 10558 10558 10559 10559 xonotic = callPackage ../games/xonotic { }; 10560 10560 10561 + xskat = callPackage ../games/xskat { }; 10562 + 10561 10563 xsokoban = builderDefsPackage (import ../games/xsokoban) { 10562 10564 inherit (xlibs) libX11 xproto libXpm libXt; 10563 10565 };