87d802636a
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/sfcaa32zc84ksyfdl2bkrwf8wvsfhmb5-freecell-solver-4.16.0/bin/fc-solve -h` got 0 exit code - ran `/nix/store/sfcaa32zc84ksyfdl2bkrwf8wvsfhmb5-freecell-solver-4.16.0/bin/fc-solve --help` got 0 exit code - ran `/nix/store/sfcaa32zc84ksyfdl2bkrwf8wvsfhmb5-freecell-solver-4.16.0/bin/fc-solve --version` and found version 4.16.0 - ran `/nix/store/sfcaa32zc84ksyfdl2bkrwf8wvsfhmb5-freecell-solver-4.16.0/bin/pi-make-microsoft-freecell-board -h` got 0 exit code - ran `/nix/store/sfcaa32zc84ksyfdl2bkrwf8wvsfhmb5-freecell-solver-4.16.0/bin/pi-make-microsoft-freecell-board --help` got 0 exit code - ran `/nix/store/sfcaa32zc84ksyfdl2bkrwf8wvsfhmb5-freecell-solver-4.16.0/bin/pi-make-microsoft-freecell-board help` got 0 exit code - found 4.16.0 with grep in /nix/store/sfcaa32zc84ksyfdl2bkrwf8wvsfhmb5-freecell-solver-4.16.0 - found 4.16.0 in filename of file in /nix/store/sfcaa32zc84ksyfdl2bkrwf8wvsfhmb5-freecell-solver-4.16.0 cc "@AndersonTorres"
35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{ 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;
|
|
};
|
|
}
|