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";
17 -e "s|.* BINDIR .*| BINDIR = $out/bin|" \
18 -e "s|.* MANPATH .*| MANPATH = $out/man|"
21 installTargets = [ "install" "install.man" ];
24 description = "Famous german card game";
25 platforms = platforms.unix;
26 license = licenses.free;
27 longDescription = "Play the german card game Skat against the AI or over IRC.";
28 homepage = "https://web.archive.org/web/20221003060115/https://www.xskat.de/xskat.html";