2015-09-15 10:13:22 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, pure, tcl, tk, xlibsWrapper }:
|
2015-05-26 07:58:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "tk";
|
|
|
|
version = "0.5";
|
|
|
|
name = "pure-${baseName}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
|
|
|
|
sha256 = "3b6e97e2d723d5a05bf25f4ac62068ac17a1fd81db03e1986366097bf071a516";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:25:26 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2015-09-15 10:13:22 +01:00
|
|
|
propagatedBuildInputs = [ pure tcl tk xlibsWrapper ];
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
|
2015-05-26 07:58:18 +01:00
|
|
|
setupHook = ../generic-setup-hook.sh;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A basic interface between Pure and Tcl/Tk";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://puredocs.bitbucket.org/pure-tk.html";
|
2015-05-26 07:58:18 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ asppsa ];
|
|
|
|
};
|
|
|
|
}
|