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

authored by

Colin and committed by
GitHub
b1ba006f f378b788

+5 -11
+5 -7
pkgs/games/black-hole-solver/default.nix pkgs/by-name/bl/black-hole-solver/package.nix
··· 3 3 lib, 4 4 fetchurl, 5 5 cmake, 6 - perl, 6 + buildPackages, 7 7 pkg-config, 8 8 python3, 9 9 rinutils, 10 - PathTiny, 11 10 }: 12 11 13 12 stdenv.mkDerivation rec { ··· 21 20 22 21 nativeBuildInputs = [ 23 22 cmake 24 - perl 23 + (buildPackages.perl.withPackages (ps: [ ps.PathTiny ])) 25 24 pkg-config 26 25 python3 27 26 ]; 28 - 29 27 buildInputs = [ 30 28 rinutils 31 - PathTiny 32 29 ]; 33 30 34 31 prePatch = '' 35 32 patchShebangs ./scripts 36 33 ''; 37 34 38 - meta = with lib; { 35 + meta = { 39 36 description = "Solver for Solitaire variants Golf, Black Hole, and All in a Row"; 40 37 mainProgram = "black-hole-solve"; 41 38 homepage = "https://www.shlomifish.org/open-source/projects/black-hole-solitaire-solver/"; 42 - license = licenses.mit; 39 + license = lib.licenses.mit; 40 + maintainers = [ ]; 43 41 }; 44 42 }
-4
pkgs/top-level/all-packages.nix
··· 17141 17141 17142 17142 beancount-share = callPackage ../applications/office/beancount/beancount_share.nix { }; 17143 17143 17144 - black-hole-solver = callPackage ../games/black-hole-solver { 17145 - inherit (perlPackages) PathTiny; 17146 - }; 17147 - 17148 17144 bugdom = callPackage ../games/bugdom { 17149 17145 stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv; 17150 17146 inherit (darwin.apple_sdk_11_0.frameworks) IOKit Foundation OpenGL;