Unverified Commit b1ba006f authored by Colin's avatar Colin Committed by GitHub
Browse files

black-hole-solver: migrate to by-name, fix cross (#397056)

parents f378b788 e12c51a0
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -3,11 +3,10 @@
  lib,
  fetchurl,
  cmake,
  perl,
  buildPackages,
  pkg-config,
  python3,
  rinutils,
  PathTiny,
}:

stdenv.mkDerivation rec {
@@ -21,24 +20,23 @@ stdenv.mkDerivation rec {

  nativeBuildInputs = [
    cmake
    perl
    (buildPackages.perl.withPackages (ps: [ ps.PathTiny ]))
    pkg-config
    python3
  ];

  buildInputs = [
    rinutils
    PathTiny
  ];

  prePatch = ''
    patchShebangs ./scripts
  '';

  meta = with lib; {
  meta = {
    description = "Solver for Solitaire variants Golf, Black Hole, and All in a Row";
    mainProgram = "black-hole-solve";
    homepage = "https://www.shlomifish.org/open-source/projects/black-hole-solitaire-solver/";
    license = licenses.mit;
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}
+0 −4
Original line number Diff line number Diff line
@@ -17141,10 +17141,6 @@ with pkgs;
  beancount-share = callPackage ../applications/office/beancount/beancount_share.nix { };
  black-hole-solver = callPackage ../games/black-hole-solver {
    inherit (perlPackages) PathTiny;
  };
  bugdom = callPackage ../games/bugdom {
    stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv;
    inherit (darwin.apple_sdk_11_0.frameworks) IOKit Foundation OpenGL;