forked from mirrors/nixpkgs
freecell-solver: fix build
This commit is contained in:
parent
5b96694e2d
commit
39c2df48d5
1 changed files with 15 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, cmake
|
{ stdenv, fetchurl, pkgconfig, cmake
|
||||||
, perl, gmp, libtap, gperf
|
, perl, gmp, libtap, gperf
|
||||||
, perlPackages, python3Packages }:
|
, perlPackages, python3 }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec{
|
stdenv.mkDerivation rec{
|
||||||
|
@ -13,11 +13,20 @@ stdenv.mkDerivation rec{
|
||||||
sha256 = "1cmaib69pijmcpvgjvrdry8j4xys8l906l80b8z21vvyhdwrfdnn";
|
sha256 = "1cmaib69pijmcpvgjvrdry8j4xys8l906l80b8z21vvyhdwrfdnn";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ cmake perl gmp libtap gperf
|
cmake perl pkgconfig
|
||||||
perlPackages.TemplateToolkit perlPackages.StringShellQuote
|
] ++ (with perlPackages; TaskFreecellSolverTesting.buildInputs ++ [
|
||||||
perlPackages.GamesSolitaireVerify perlPackages.TaskFreecellSolverTesting
|
GamesSolitaireVerify StringShellQuote TaskFreecellSolverTesting TemplateToolkit
|
||||||
python3Packages.python python3Packages.random2 ];
|
]);
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gmp libtap gperf
|
||||||
|
python3 python3.pkgs.random2
|
||||||
|
];
|
||||||
|
|
||||||
|
# "ninja t/CMakeFiles/delta-states-test.t.exe.dir/__/delta_states.c.o" fails
|
||||||
|
# to depend on the generated "is_king.h".
|
||||||
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A FreeCell automatic solver";
|
description = "A FreeCell automatic solver";
|
||||||
|
|
Loading…
Add table
Reference in a new issue