lol
at 15.09-beta 35 lines 653 B view raw
1{ stdenv, fetchurl 2 3# Version specific stuff 4, release, version, src 5, ... 6}: 7 8stdenv.mkDerivation rec { 9 name = "tcl-${version}"; 10 11 inherit src; 12 13 preConfigure = '' 14 cd unix 15 ''; 16 17 postInstall = '' 18 make install-private-headers 19 ln -s $out/bin/tclsh${release} $out/bin/tclsh 20 ''; 21 22 meta = with stdenv.lib; { 23 description = "The Tcl scription language"; 24 homepage = http://www.tcl.tk/; 25 license = licenses.tcltk; 26 platforms = platforms.all; 27 maintainers = with maintainers; [ wkennington ]; 28 }; 29 30 passthru = rec { 31 inherit release version; 32 libPrefix = "tcl${release}"; 33 libdir = "lib/${libPrefix}"; 34 }; 35}