uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
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.12.0";
|
||||
|
||||
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 = "sha256-0y8yU291cykliPQbsNha5C1WE3bCGNxKtrrf5JBKN6c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake perl pkg-config python3 ];
|
||||
|
||||
buildInputs = [ rinutils PathTiny ];
|
||||
|
||||
prePatch = ''
|
||||
patchShebangs ./scripts
|
||||
'';
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue