2 files changed, 41 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 75c8882..785b28b 100755
--- a/flake.nix
+++ b/flake.nix
@@ -282,6 +282,7 @@
);
packages.mtxclient-git = (pkgs.callPackage ./modules/packages/mtxclient-git.nix { inherit mtxclientSrc; });
+ packages.nbtexplorer = pkgs.callPackage ./modules/packages/nbtexplorer.nix {};
# untested
packages.draupnir-main = pkgs.draupnir.overrideAttrs (oldAttrs: {
diff --git a/modules/packages/nbtexplorer.nix b/modules/packages/nbtexplorer.nix
new file mode 100644
index 0000000..abe495d
--- /dev/null
+++ b/modules/packages/nbtexplorer.nix
@@ -0,0 +1,40 @@
+{
+ lib,
+ stdenvNoCC,
+ fetchFromGitHub,
+ dotnetPackages,
+ msbuild,
+ makeWrapper,
+ mono,
+ libGL,
+ gtk2,
+}:
+
+stdenvNoCC.mkDerivation rec {
+ pname = "nbt-explorer";
+ version = "2.8.0-win";
+
+ src = fetchFromGitHub {
+ owner = "jaquadro";
+ repo = "NBTExplorer";
+ rev = "v${version}";
+ hash = "sha256-uOoELun0keFYN1N2/a1IkCP1AZQvfDLiUdrLxxrhE/A=";
+ #buildCommand = ''
+ # touch $out
+ #'';
+ };
+
+
+ buildCommand = ''
+ touch $out
+ '';
+
+ meta = with lib; {
+ description = "A graphical NBT editor for all Minecraft NBT data sources";
+ homepage = "https://github.com/jaquadro/NBTExplorer.git";
+ license = licenses.mit;
+ maintainers = with maintainers; [ ];
+ mainProgram = "nbt-explorer";
+ platforms = platforms.all;
+ };
+}
|