forked from mirrors/nixpkgs
tcl/tk: Refactor and add maintainers
This commit is contained in:
parent
66b66e8302
commit
5835d577e7
|
@ -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 {
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue