Compare commits
5 commits
99ad147192
...
a321411cde
Author | SHA1 | Date | |
---|---|---|---|
Tristan Daniël Maat | a321411cde | ||
Tristan Daniël Maat | 89376653b1 | ||
Tristan Daniël Maat | e2153ba174 | ||
Tristan Daniël Maat | d0d64900c0 | ||
Tristan Daniël Maat | 25bda7002a |
|
@ -27,4 +27,25 @@
|
||||||
cp * $out/mods
|
cp * $out/mods
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mkModpackZip = { name, version, mods }:
|
||||||
|
pkgs.stdenv.mkDerivation {
|
||||||
|
inherit name version;
|
||||||
|
srcs = map pkgs.local.fetchFromCurseForge mods;
|
||||||
|
|
||||||
|
sourceRoot = "src/";
|
||||||
|
preUnpack = "mkdir -p src/";
|
||||||
|
unpackCmd = "cp $curSrc src/";
|
||||||
|
|
||||||
|
buildInputs = [ pkgs.zip];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
zip voor-kia-mods.zip *.jar
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/
|
||||||
|
cp voor-kia-mods.zip $out/
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
name = "forge-server";
|
name = "forge-server";
|
||||||
version = "1.16.5-36.1.65";
|
version = "1.16.5-36.2.2";
|
||||||
mirror = "https://files.minecraftforge.net/maven/net/minecraftforge/forge";
|
mirror = "https://files.minecraftforge.net/maven/net/minecraftforge/forge";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${mirror}/${version}/forge-${version}-installer.jar";
|
url = "${mirror}/${version}/forge-${version}-installer.jar";
|
||||||
# Forge doesn't seem to like newer shas
|
# Forge doesn't seem to like newer shas
|
||||||
sha1 = "9aedcd5e64bfc12483b9c51bc4cf18e551ad054a";
|
sha1 = "055190497ad9e23d2aeed2473743e37de98ff8a2";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackCmd = "mkdir -p src; cp $curSrc src/forge-${version}-installer.jar";
|
unpackCmd = "mkdir -p src; cp $curSrc src/forge-${version}-installer.jar";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib, local-lib, stdenv }:
|
{ lib, local-lib, stdenv }:
|
||||||
|
|
||||||
local-lib.minecraft.mkModpack {
|
local-lib.minecraft.mkModpackZip {
|
||||||
name = "voor-kia-client";
|
name = "voor-kia-client";
|
||||||
version = "1.1";
|
version = "1.1";
|
||||||
mods = (builtins.fromJSON (builtins.readFile ./voor-kia/mods.json))
|
mods = (builtins.fromJSON (builtins.readFile ./voor-kia/mods.json))
|
||||||
|
|
|
@ -497,11 +497,11 @@
|
||||||
"sha256": "65e6e7a7fac64130de455b8b8e3ec1a16ee48411df0ab3963790038019f69a25"
|
"sha256": "65e6e7a7fac64130de455b8b8e3ec1a16ee48411df0ab3963790038019f69a25"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "selene-1.16.5-1.5.jar",
|
"filename": "selene-1.16.5-1.3.jar",
|
||||||
"id": 3392984,
|
"id": 3377212,
|
||||||
"project": "selene",
|
"project": "selene",
|
||||||
"project_id": 499980,
|
"project_id": 499980,
|
||||||
"sha256": "0138b5a0591f60bc9ac6da73cd7501f123a1c32822a0289447f0c8a7ee8bdfa9"
|
"sha256": "49a08a86b9f63170fb1a9bf9c81d6a91157eecfbf150ac04bb010207a0133485"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "SnowRealMagic-1.16.4-2.5.8.jar",
|
"filename": "SnowRealMagic-1.16.4-2.5.8.jar",
|
||||||
|
|
Loading…
Reference in a new issue