mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
21e3ff658a
Scilab note: the parameters already had pointed to nonexistent dirs before this set of refactoring. But that config wasn't even used by default.
26 lines
814 B
Nix
26 lines
814 B
Nix
{ stdenv, fetchurl, pkgconfig, pure, tcl, tk, xlibsWrapper }:
|
|
|
|
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";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig ];
|
|
propagatedBuildInputs = [ pure tcl tk xlibsWrapper ];
|
|
makeFlags = "libdir=$(out)/lib prefix=$(out)/";
|
|
setupHook = ../generic-setup-hook.sh;
|
|
|
|
meta = {
|
|
description = "A basic interface between Pure and Tcl/Tk";
|
|
homepage = http://puredocs.bitbucket.org/pure-tk.html;
|
|
license = stdenv.lib.licenses.bsd3;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = with stdenv.lib.maintainers; [ asppsa ];
|
|
};
|
|
}
|