Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 29 lines 657 B view raw
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "tie"; 5 version = "2.4"; 6 7 src = fetchurl { 8 url = "http://mirrors.ctan.org/web/tie/${pname}-${version}.tar.gz"; 9 sha256 = "1m5952kdfffiz33p1jw0wv7dh272mmw28mpxw9v7lkb352zv4xsj"; 10 }; 11 12 buildPhase = '' 13 ${stdenv.cc.targetPrefix}cc -std=c89 tie.c -o tie 14 ''; 15 16 installPhase = '' 17 mkdir -p $out/bin 18 cp tie $out/bin 19 ''; 20 21 meta = with lib; { 22 homepage = "https://www.ctan.org/tex-archive/web/tie"; 23 description = "Allow multiple web change files"; 24 mainProgram = "tie"; 25 platforms = platforms.all; 26 maintainers = [ ]; 27 license = licenses.abstyles; 28 }; 29}