1{ lib, stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 pname = "tie";
5 version = "2.4";
6
7 src = fetchurl {
8 url = "http://mirrors.ctan.org/web/tie/${pname}-${version}.tar.gz";
9 sha256 = "1m5952kdfffiz33p1jw0wv7dh272mmw28mpxw9v7lkb352zv4xsj";
10 };
11
12 buildPhase = ''
13 ${stdenv.cc.targetPrefix}cc tie.c -o tie
14 '';
15
16 installPhase = ''
17 mkdir -p $out/bin
18 cp tie $out/bin
19 '';
20
21 meta = with lib; {
22 homepage = "https://www.ctan.org/tex-archive/web/tie";
23 description = "Allow multiple web change files";
24 platforms = platforms.all;
25 maintainers = with maintainers; [ vrthra ];
26 license = licenses.abstyles;
27 };
28}