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