This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/minecraft/papermc-from-source/deps.nix

16 lines
431 B
Nix
Raw Normal View History

2022-09-28 19:14:31 +00:00
{
callPackage,
writeScript,
}: let
src = callPackage ./source.nix {};
gradleDeps = callPackage ../../lib/gradleDeps.nix {};
in (gradleDeps {
pname = "paper-deps";
version = src.passthru.source.date;
inherit src;
sha256 = builtins.readFile ./deps.hash;
passthru.updateScript = writeScript "update-paper-deps" ''
${../../scripts/update-gradle.sh} minecraft/papermc/deps.nix minecraft/papermc/deps.hash
'';
})