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 = ''
|
2024-05-15 15:35:15 +00:00
|
|
|
${stdenv.cc.targetPrefix}cc -std=c89 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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "tie";
|
2021-03-09 03:18:52 +00:00
|
|
|
platforms = platforms.all;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.abstyles;
|
|
|
|
};
|
|
|
|
}
|