1 {lib, stdenv, fetchurl, libX11, imake, gccmakedep}:
3 stdenv.mkDerivation rec {
7 nativeBuildInputs = [ gccmakedep ];
8 buildInputs = [ libX11 imake ];
11 url = "https://web.archive.org/web/20220331112433if_/https://www.xskat.de/xskat-${version}.tar.gz";
12 sha256 = "8ba52797ccbd131dce69b96288f525b0d55dee5de4008733f7a5a51deb831c10";
15 env.NIX_CFLAGS_COMPILE = "-Wno-implicit-int";
19 -e "s|.* BINDIR .*| BINDIR = $out/bin|" \
20 -e "s|.* MANPATH .*| MANPATH = $out/man|"
23 installTargets = [ "install" "install.man" ];
26 description = "Famous german card game";
27 mainProgram = "xskat";
28 platforms = platforms.unix;
29 license = licenses.xskat;
30 longDescription = "Play the german card game Skat against the AI or over IRC.";
31 homepage = "https://web.archive.org/web/20221003060115/https://www.xskat.de/xskat.html";