depot/third_party/nixpkgs/pkgs/development/tools/misc/tie/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

28 lines
648 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 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";
platforms = platforms.all;
maintainers = with maintainers; [ vrthra ];
license = licenses.abstyles;
};
}