mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
black-hole-solver: init at 1.10.1
This commit is contained in:
parent
500eb3096d
commit
446405ccd2
30
pkgs/games/black-hole-solver/default.nix
Normal file
30
pkgs/games/black-hole-solver/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
stdenv, lib, fetchurl,
|
||||
cmake, perl, pkg-config, python3,
|
||||
rinutils, PathTiny,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "black-hole-solver";
|
||||
version = "1.10.1";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.shlomifish.org/open-source/projects/black-hole-solitaire-solver/";
|
||||
description = "A solver for Solitaire variants Golf, Black Hole, and All in a Row.";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://fc-solve.shlomifish.org/downloads/fc-solve/${pname}-${version}.tar.xz";
|
||||
sha256 = "1qhihmk4fwz6n16c7bnxnh3v7jhbb7xhkc9wk9484bp0k4x9bq9n";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake perl pkg-config python3 ];
|
||||
|
||||
buildInputs = [ rinutils PathTiny ];
|
||||
|
||||
prePatch = ''
|
||||
patchShebangs ./scripts
|
||||
'';
|
||||
|
||||
}
|
@ -26385,6 +26385,10 @@ in
|
||||
lua = lua5;
|
||||
};
|
||||
|
||||
black-hole-solver = callPackage ../games/black-hole-solver {
|
||||
inherit (perlPackages) PathTiny;
|
||||
};
|
||||
|
||||
blackshades = callPackage ../games/blackshades { };
|
||||
|
||||
blobby = callPackage ../games/blobby { };
|
||||
|
Loading…
Reference in New Issue
Block a user