3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/freecell-solver/default.nix

36 lines
1.1 KiB
Nix
Raw Normal View History

2017-02-24 11:35:48 +00:00
{ stdenv, fetchurl, pkgconfig, cmake
, perl, gmp, libtap, gperf
, perlPackages, python3Packages }:
2015-08-04 01:53:33 +01:00
with stdenv.lib;
stdenv.mkDerivation rec{
name = "freecell-solver-${version}";
2017-02-24 11:35:48 +00:00
version = "4.8.0";
2015-08-04 01:53:33 +01:00
src = fetchurl {
2017-02-24 11:35:48 +00:00
url = "http://fc-solve.shlomifish.org/downloads/fc-solve/${name}.tar.xz";
sha256 = "0274l1p71ps222i62whqfkg80fcc8m4w2hmpbrbbd5gh8kfpman3";
2015-08-04 01:53:33 +01:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake perl gmp libtap gperf
2015-08-04 01:53:33 +01:00
perlPackages.TemplateToolkit perlPackages.StringShellQuote
2017-02-24 11:35:48 +00:00
perlPackages.GamesSolitaireVerify perlPackages.TaskFreecellSolverTesting
python3Packages.python python3Packages.random2 ];
2015-08-04 01:53:33 +01:00
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 ];
2017-02-24 11:35:48 +00:00
platforms = platforms.unix;
2015-08-04 01:53:33 +01:00
};
}