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
36
pkgs/tools/games/minecraft/fabric-installer/default.nix
Normal file
36
pkgs/tools/games/minecraft/fabric-installer/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, makeWrapper
|
||||
, jre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fabric-installer";
|
||||
version = "0.10.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://maven.fabricmc.net/net/fabricmc/fabric-installer/${version}/fabric-installer-${version}.jar";
|
||||
sha256 = "sha256-xjnL1nURAr4z2OZKEqiC/E6+rSvDpxrfGwm/5Bvxxno=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
nativeBuildInputs = [ jre makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{bin,lib/fabric}
|
||||
|
||||
cp $src $out/lib/fabric/fabric-installer.jar
|
||||
makeWrapper ${jre}/bin/java $out/bin/fabric-installer \
|
||||
--add-flags "-jar $out/lib/fabric/fabric-installer.jar"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://fabricmc.net/";
|
||||
description = "A lightweight, experimental modding toolchain for Minecraft";
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.ivar ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue