nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 774 B view raw
1{ 2 lib, 3 fetchsvn, 4 tcl, 5 tcllib, 6 tk, 7 libx11, 8}: 9 10tcl.mkTclDerivation rec { 11 pname = "tkimg"; 12 version = "623"; 13 14 src = fetchsvn { 15 url = "svn://svn.code.sf.net/p/tkimg/code/trunk"; 16 rev = version; 17 sha256 = "sha256-6GlkqYxXmMGjiJTZS2fQNVSimcKc1BZ/lvzvtkhty+o="; 18 }; 19 20 configureFlags = [ 21 "--with-tcl=${tcl}/lib" 22 "--with-tk=${tk}/lib" 23 "--with-tkinclude=${tk.dev}/include" 24 ]; 25 26 buildInputs = [ 27 libx11 28 tcllib 29 ]; 30 31 meta = { 32 homepage = "https://sourceforge.net/projects/tkimg/"; 33 description = "Img package adds several image formats to Tcl/Tk"; 34 maintainers = with lib.maintainers; [ matthewcroughan ]; 35 license = lib.licenses.bsd3; 36 platforms = lib.platforms.unix; 37 badPlatforms = lib.platforms.darwin; 38 }; 39}