about summary refs log tree commit diff
path: root/pkgs/games/tes3cmd
diff options
context:
space:
mode:
authormarius david <mariusdavid@laposte.net>2020-10-18 10:20:43 +0200
committermarius david <mariusdavid@laposte.net>2020-10-18 10:31:11 +0200
commite71198d9f07e3624c50c9b9152dbb93d4bdd3354 (patch)
tree676cb5e535c229d4667f9e5cc37cfd03829f2a2f /pkgs/games/tes3cmd
parent9c17a5448b665cb7fa5d5270a998719becdc5b89 (diff)
tes3cmd: init at 0.40-pre-release-2
Diffstat (limited to 'pkgs/games/tes3cmd')
-rw-r--r--pkgs/games/tes3cmd/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/games/tes3cmd/default.nix b/pkgs/games/tes3cmd/default.nix
new file mode 100644
index 0000000000000..b71f9930cadec
--- /dev/null
+++ b/pkgs/games/tes3cmd/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, lib, perlPackages, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  pname = "tes3cmd";
+  version = "0.40-pre-release-2";
+
+  src = fetchFromGitHub {
+    owner = "john-moonsugar";
+    repo = pname;
+    rev = "f72e9ed9dd18e8545dd0dc2a4056c250cf505790";
+    sha256 = "01zqplp8yb0xnl54963n0zkz66rf3hn2x3i255jlhdhx1c43jba7";
+  };
+
+  buildInputs = [ perlPackages.perl ];
+
+  installPhase = ''
+    mkdir -p $out/bin
+    cp tes3cmd $out/bin/tes3cmd
+  '';
+
+  meta = with lib; {
+    description = "A command line tool for examining and modifying plugins for the Elder Scrolls game Morrowind by Bethesda Softworks.";
+    homepage = "https://github.com/john-moonsugar/tes3cmd";
+    license = licenses.mit;
+    maintainers = [ maintainers.marius851000 ];
+    platforms = platforms.linux;
+  };
+}