downlords faf client
This commit is contained in:
parent
940cf7f88b
commit
77ae1574c8
16
default.nix
16
default.nix
|
@ -29,23 +29,23 @@ in
|
|||
rust-synapse-compress-state = pkgs.callPackage ./pkgs/rust-synapse-compress-state { };
|
||||
matrix-corporal = pkgs.callPackage ./pkgs/matrix-corporal { };
|
||||
|
||||
matrix-registration = pkgs.callPackage ./pkgs/matrix-registration { };
|
||||
|
||||
rank_photos = pkgs.callPackage ./pkgs/rank_photos { };
|
||||
|
||||
grav1 = pkgs.callPackage ./pkgs/grav1/server.nix { wsgiserver = wsgiserver; setuptools = pkgs.python3Packages.setuptools; };
|
||||
grav1c = pkgs.callPackage ./pkgs/grav1/client.nix { };
|
||||
# grav1 = pkgs.callPackage ./pkgs/grav1/server.nix { wsgiserver = wsgiserver; setuptools = pkgs.python3Packages.setuptools; };
|
||||
# grav1c = pkgs.callPackage ./pkgs/grav1/client.nix { };
|
||||
|
||||
av1client = pkgs.callPackage ./pkgs/av1master/client.nix { };
|
||||
# av1client = pkgs.callPackage ./pkgs/av1master/client.nix { };
|
||||
|
||||
radical-native = pkgs.callPackage ./pkgs/radical-native { };
|
||||
# radical-native = pkgs.callPackage ./pkgs/radical-native { };
|
||||
photini = pkgs.libsForQt5.callPackage ./pkgs/photini { };
|
||||
|
||||
plotbitrate = pkgs.callPackage ./pkgs/plotbitrate { };
|
||||
|
||||
wii-u-gc-adapter = pkgs.callPackage ./pkgs/wii-u-gc-adapter { };
|
||||
# wii-u-gc-adapter = pkgs.callPackage ./pkgs/wii-u-gc-adapter { };
|
||||
|
||||
minecraft-server-fabric = pkgs.callPackage ./pkgs/minecraft-server-fabric { };
|
||||
# minecraft-server-fabric = pkgs.callPackage ./pkgs/minecraft-server-fabric { };
|
||||
|
||||
dowlords-faf-client = pkgs.callPackage ./pkgs/downlords { };
|
||||
|
||||
mesloNFp10k = pkgs.callPackage ./pkgs/fonts/MesloNFp10k.nix { };
|
||||
wallpapers = pkgs.callPackage ./pkgs/wallpapers/monogatari { };
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenv, fetchzip, makeWrapper, jdk14, steam-run, ... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "downlords-faf-client";
|
||||
version = "v1.2.3";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/FAForever/downlords-faf-client/releases/download/${version}/dfc_unix_${lib.stringAsChars (x: if x == "." then "_" else if x == "v" then "" else x) version}.tar.gz";
|
||||
sha256 = "0snbqn6qngjrb1s4knxq5k48816zk975h6b19fnpja2pabwkxzpc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ jdk14 ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/ $out/bin
|
||||
cp -r ${src} $out/lib/downlords
|
||||
|
||||
makeWrapper $out/lib/downlords/downlords-faf-client $out/bin/dowlords \
|
||||
--set INSTALL4J_JAVA_HOME "${jdk14}/lib/openjdk" \
|
||||
--set PWD $out/lib/downlords \
|
||||
--run "cd $out/lib/downlords"
|
||||
'';
|
||||
|
||||
}
|
Loading…
Reference in New Issue