configuration/packages/fastnbt-tools.nix

26 lines
536 B
Nix
Raw Normal View History

2022-12-21 01:46:01 +00:00
{ fetchCrate
, lib
2023-02-07 02:41:49 +00:00
, nix-update-script
2022-12-21 01:46:01 +00:00
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "fastnbt-tools";
2023-05-27 01:07:13 +00:00
version = "0.27.0";
2022-12-21 01:46:01 +00:00
src = fetchCrate {
inherit pname version;
2023-05-27 01:07:13 +00:00
sha256 = "sha256-KnbJXiMPHjk/pReurP5WdE9I1GgLMhGEHKtZwFekzzM=";
2022-12-21 01:46:01 +00:00
};
2023-05-27 01:07:13 +00:00
cargoHash = "sha256-5iSDo43JFMnuYhUYcOLcqnCbMWD9ogffD+FMoKN1+vY=";
2022-12-21 01:46:01 +00:00
2023-02-07 02:41:49 +00:00
passthru.updateScript = nix-update-script { };
2022-12-21 01:46:01 +00:00
meta = {
description = "tools built with fastnbt";
homepage = "https://github.com/owengage/fastnbt";
license = lib.licenses.mit;
};
}