depot/third_party/nixpkgs/pkgs/development/tools/misc/tie/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

29 lines
657 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "tie";
version = "2.4";
src = fetchurl {
url = "http://mirrors.ctan.org/web/tie/${pname}-${version}.tar.gz";
sha256 = "1m5952kdfffiz33p1jw0wv7dh272mmw28mpxw9v7lkb352zv4xsj";
};
buildPhase = ''
${stdenv.cc.targetPrefix}cc -std=c89 tie.c -o tie
'';
installPhase = ''
mkdir -p $out/bin
cp tie $out/bin
'';
meta = with lib; {
homepage = "https://www.ctan.org/tex-archive/web/tie";
description = "Allow multiple web change files";
mainProgram = "tie";
platforms = platforms.all;
maintainers = [ ];
license = licenses.abstyles;
};
}