2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tie";
|
|
|
|
version = "2.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://mirrors.ctan.org/web/tie/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1m5952kdfffiz33p1jw0wv7dh272mmw28mpxw9v7lkb352zv4xsj";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildPhase = ''
|
2021-03-09 03:18:52 +00:00
|
|
|
${stdenv.cc.targetPrefix}cc tie.c -o tie
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp tie $out/bin
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.ctan.org/tex-archive/web/tie";
|
|
|
|
description = "Allow multiple web change files";
|
2021-03-09 03:18:52 +00:00
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ vrthra ];
|
|
|
|
license = licenses.abstyles;
|
|
|
|
};
|
|
|
|
}
|