about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/tie
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/misc/tie')
-rw-r--r--pkgs/development/tools/misc/tie/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/tie/default.nix b/pkgs/development/tools/misc/tie/default.nix
new file mode 100644
index 000000000000..11f2d62b76ca
--- /dev/null
+++ b/pkgs/development/tools/misc/tie/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+  name = "tie-${version}";
+  version = "2.4";
+
+  src = fetchurl {
+    url = "http://mirrors.ctan.org/web/tie/${name}.tar.gz";
+    sha256 = "1m5952kdfffiz33p1jw0wv7dh272mmw28mpxw9v7lkb352zv4xsj";
+  };
+
+  buildPhase = ''
+    gcc tie.c -o tie
+  '';
+
+  installPhase = ''
+    mkdir -p $out/bin
+    cp tie $out/bin
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = https://www.ctan.org/tex-archive/web/tie;
+    description = "Allow multiple web change files";
+    platforms = with platforms; unix;
+    maintainers = with maintainers; [ vrthra ];
+  };
+}