Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / tkimg / default.nix
blob094a6b5dda3dc54f560a0d5ab12dfd7abe386f42
1 { lib, fetchsvn, tcl, tcllib, tk, xorg }:
3 tcl.mkTclDerivation rec {
4   pname = "tkimg";
5   version = "623";
7   src = fetchsvn {
8     url = "svn://svn.code.sf.net/p/tkimg/code/trunk";
9     rev = version;
10     sha256 = "sha256-6GlkqYxXmMGjiJTZS2fQNVSimcKc1BZ/lvzvtkhty+o=";
11   };
13   configureFlags = [
14     "--with-tcl=${tcl}/lib"
15     "--with-tk=${tk}/lib"
16     "--with-tkinclude=${tk.dev}/include"
17   ];
19   buildInputs = [ xorg.libX11 tcllib ];
21   meta = {
22     homepage = "https://sourceforge.net/projects/tkimg/";
23     description = "The Img package adds several image formats to Tcl/Tk";
24     maintainers = with lib.maintainers; [ matthewcroughan ];
25     license = lib.licenses.bsd3;
26     platforms = lib.platforms.unix;
27   };