nixpkgs/pkgs/development/tools/misc/tie/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
648 B
Nix
Raw Normal View History

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