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
37
pkgs/os-specific/darwin/goku/default.nix
Normal file
37
pkgs/os-specific/darwin/goku/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, unzip
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "goku";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/yqrashawn/GokuRakuJoudo/releases/download/v${version}/goku.zip";
|
||||
sha256 = "506eccdabedc68c112778b13ded65099327267c2e3fd488916e3a340bc312954";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
unzip
|
||||
];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
chmod +x goku
|
||||
chmod +x gokuw
|
||||
mkdir -p $out/bin
|
||||
cp goku $out/bin
|
||||
cp gokuw $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Karabiner configurator";
|
||||
homepage = "https://github.com/yqrashawn/GokuRakuJoudo";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.nikitavoloboev ];
|
||||
platforms = platforms.darwin;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue