3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/tie/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
630 B
Nix

{ 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 = ''
cc tie.c -o tie
'';
installPhase = ''
mkdir -p $out/bin
cp tie $out/bin
'';
meta = with stdenv.lib; {
homepage = https://www.ctan.org/tex-archive/web/tie;
description = "Allow multiple web change files";
platforms = with platforms; unix;
maintainers = with maintainers; [ vrthra ];
license = licenses.abstyles;
};
}