python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / games / black-hole-solver / default.nix
blob601aaeb1d90d281c01794c4defcdd83efe011c1c
2   stdenv, lib, fetchurl,
3   cmake, perl, pkg-config, python3,
4   rinutils, PathTiny,
5 }:
7 stdenv.mkDerivation rec {
8   pname = "black-hole-solver";
9   version = "1.12.0";
11   meta = with lib; {
12     homepage = "https://www.shlomifish.org/open-source/projects/black-hole-solitaire-solver/";
13     description = "A solver for Solitaire variants Golf, Black Hole, and All in a Row.";
14     license = licenses.mit;
15   };
17   src = fetchurl {
18     url = "https://fc-solve.shlomifish.org/downloads/fc-solve/${pname}-${version}.tar.xz";
19     sha256 = "sha256-0y8yU291cykliPQbsNha5C1WE3bCGNxKtrrf5JBKN6c=";
20   };
22   nativeBuildInputs = [ cmake perl pkg-config python3 ];
24   buildInputs = [ rinutils PathTiny ];
26   prePatch = ''
27     patchShebangs ./scripts
28   '';