Commit 2cf69d3f authored by matthewcroughan's avatar matthewcroughan
Browse files

tkimg: init at 623

parent 3ed18a35
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
{ lib, fetchsvn, tcl, tcllib, tk, xorg }:

tcl.mkTclDerivation rec {
  pname = "tkimg";
  version = "623";

  src = fetchsvn {
    url = "svn://svn.code.sf.net/p/tkimg/code/trunk";
    rev = version;
    sha256 = "sha256-6GlkqYxXmMGjiJTZS2fQNVSimcKc1BZ/lvzvtkhty+o=";
  };

  configureFlags = [
    "--with-tcl=${tcl}/lib"
    "--with-tk=${tk}/lib"
    "--with-tkinclude=${tk.dev}/include"
  ];

  buildInputs = [ xorg.libX11 tcllib ];

  meta = {
    homepage = "https://sourceforge.net/projects/tkimg/";
    description = "The Img package adds several image formats to Tcl/Tk";
    maintainers = with lib.maintainers; [ matthewcroughan ];
    license = lib.licenses.bsd3;
    platforms = lib.platforms.unix;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -24046,6 +24046,8 @@ with pkgs;
  tk-8_6 = callPackage ../development/libraries/tk/8.6.nix { };
  tk-8_5 = callPackage ../development/libraries/tk/8.5.nix { tcl = tcl-8_5; };
  tkimg = callPackage ../development/libraries/tkimg { };
  tkrzw = callPackage ../development/libraries/tkrzw { };
  tl-expected = callPackage ../development/libraries/tl-expected { };