about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRahul Gopinath <rahul@gopinath.org>2016-07-03 11:13:13 -0700
committerRahul Gopinath <rahul@gopinath.org>2016-07-03 13:47:53 -0700
commitf3da2e5bac3ee5376645819f623bd757723cab8e (patch)
treea5de48c64ca8f32e53c9cab98a3573bb669d5e20
parent6f7bace3b8d1b93ff0b58236dedd2fbdb309e23b (diff)
tie: init at 2.4
-rw-r--r--pkgs/development/tools/misc/tie/default.nix27
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 29 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 0000000000000..11f2d62b76ca3
--- /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 ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 0606ceef866a1..a1d1e2f104231 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -3598,6 +3598,8 @@ in
 
   tinc = callPackage ../tools/networking/tinc { };
 
+  tie = callPackage ../development/tools/misc/tie { };
+
   tinc_pre = callPackage ../tools/networking/tinc/pre.nix { };
 
   tiny8086 = callPackage ../applications/virtualization/8086tiny { };