tcl/tk: Refactor and add maintainers

This commit is contained in:
William A. Kennington III 2015-04-30 11:42:43 -07:00
parent 66b66e8302
commit 5835d577e7
2 changed files with 14 additions and 7 deletions

View file

@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
inherit src;
preConfigure = "cd unix";
preConfigure = ''
cd unix
'';
postInstall = ''
make install-private-headers
@ -22,6 +24,7 @@ stdenv.mkDerivation rec {
homepage = http://www.tcl.tk/;
license = licenses.tcltk;
platforms = platforms.all;
maintainers = with maintainers; [ wkennington ];
};
passthru = rec {

View file

@ -14,9 +14,13 @@ stdenv.mkDerivation {
ln -s $out/bin/wish* $out/bin/wish
'';
configureFlags = "--with-tcl=${tcl}/lib";
preConfigure = ''
cd unix
'';
preConfigure = "cd unix";
configureFlags = [
"--with-tcl=${tcl}/lib"
];
buildInputs = [ pkgconfig tcl libXft ]
++ stdenv.lib.optional stdenv.isDarwin fontconfig;
@ -31,11 +35,11 @@ stdenv.mkDerivation {
libdir = "lib/${libPrefix}";
};
meta = {
meta = with stdenv.lib; {
description = "A widget toolkit that provides a library of basic elements for building a GUI in many different programming languages";
homepage = http://www.tcl.tk/;
license = stdenv.lib.licenses.tcltk;
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
platforms = stdenv.lib.platforms.all;
license = licenses.tcltk;
platforms = platforms.all;
maintainers = with maintainers; [ lovek323 wkennington ];
};
}