tcl/tk: Refactor and add maintainers
This commit is contained in:
parent
66b66e8302
commit
5835d577e7
@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
inherit src;
|
inherit src;
|
||||||
|
|
||||||
preConfigure = "cd unix";
|
preConfigure = ''
|
||||||
|
cd unix
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
make install-private-headers
|
make install-private-headers
|
||||||
@ -22,6 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://www.tcl.tk/;
|
homepage = http://www.tcl.tk/;
|
||||||
license = licenses.tcltk;
|
license = licenses.tcltk;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ wkennington ];
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = rec {
|
passthru = rec {
|
||||||
|
@ -14,9 +14,13 @@ stdenv.mkDerivation {
|
|||||||
ln -s $out/bin/wish* $out/bin/wish
|
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 ]
|
buildInputs = [ pkgconfig tcl libXft ]
|
||||||
++ stdenv.lib.optional stdenv.isDarwin fontconfig;
|
++ stdenv.lib.optional stdenv.isDarwin fontconfig;
|
||||||
@ -31,11 +35,11 @@ stdenv.mkDerivation {
|
|||||||
libdir = "lib/${libPrefix}";
|
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";
|
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/;
|
homepage = http://www.tcl.tk/;
|
||||||
license = stdenv.lib.licenses.tcltk;
|
license = licenses.tcltk;
|
||||||
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
|
platforms = platforms.all;
|
||||||
platforms = stdenv.lib.platforms.all;
|
maintainers = with maintainers; [ lovek323 wkennington ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user