blob: 263bf5c29dfc3237735966d31e76c6708a4765ac (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ stdenv, fetchurl, pkgconfig, cmake
, perl, gmp, libtap, gperf
, perlPackages, python3Packages }:
with stdenv.lib;
stdenv.mkDerivation rec{
name = "freecell-solver-${version}";
version = "4.16.0";
src = fetchurl {
url = "http://fc-solve.shlomifish.org/downloads/fc-solve/${name}.tar.xz";
sha256 = "1ihrmxbsli7c1lm5gw9xgrakyn4nsmaj1zgk5gza2ywnfpgdb0ac";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake perl gmp libtap gperf
perlPackages.TemplateToolkit perlPackages.StringShellQuote
perlPackages.GamesSolitaireVerify perlPackages.TaskFreecellSolverTesting
python3Packages.python python3Packages.random2 ];
meta = {
description = "A FreeCell automatic solver";
longDescription = ''
FreeCell Solver is a program that automatically solves layouts
of Freecell and similar variants of Card Solitaire such as Eight
Off, Forecell, and Seahaven Towers, as well as Simple Simon
boards.
'';
homepage = http://fc-solve.shlomifish.org/;
license = licenses.mit;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.unix;
};
}
|