diff options
author | William A. Kennington III <william@wkennington.com> | 2015-04-30 11:42:43 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-04-30 18:49:27 -0700 |
commit | 5835d577e7f4074fd637931cb03b5f6a22511a8d (patch) | |
tree | 3dee5bd5072c6dd34325c212cf10822c24dd8ae9 /pkgs/development/libraries/tk | |
parent | 66b66e8302ac5f0c2b8f2aabfc87bbb9b6d70603 (diff) |
tcl/tk: Refactor and add maintainers
Diffstat (limited to 'pkgs/development/libraries/tk')
-rw-r--r-- | pkgs/development/libraries/tk/default.nix | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/pkgs/development/libraries/tk/default.nix b/pkgs/development/libraries/tk/default.nix index 5f07befcfa540..a847f848a02af 100644 --- a/pkgs/development/libraries/tk/default.nix +++ b/pkgs/development/libraries/tk/default.nix @@ -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 ]; }; } |