at 18.09-beta 25 lines 820 B view raw
1{ stdenv, fetchurl, pkgconfig, pure, tcl, tk, xlibsWrapper }: 2 3stdenv.mkDerivation rec { 4 baseName = "tk"; 5 version = "0.5"; 6 name = "pure-${baseName}-${version}"; 7 8 src = fetchurl { 9 url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 sha256 = "3b6e97e2d723d5a05bf25f4ac62068ac17a1fd81db03e1986366097bf071a516"; 11 }; 12 13 nativeBuildInputs = [ pkgconfig ]; 14 propagatedBuildInputs = [ pure tcl tk xlibsWrapper ]; 15 makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 setupHook = ../generic-setup-hook.sh; 17 18 meta = { 19 description = "A basic interface between Pure and Tcl/Tk"; 20 homepage = http://puredocs.bitbucket.org/pure-tk.html; 21 license = stdenv.lib.licenses.bsd3; 22 platforms = stdenv.lib.platforms.linux; 23 maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 }; 25}