1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/itktcl/default.nix
Austin Seipp 806fac5d10
itktcl: wibble [NFC]
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-02-28 21:03:35 -06:00

38 lines
945 B
Nix

{ stdenv, fetchurl, tcl, tk, incrtcl }:
stdenv.mkDerivation rec {
pname = "itk-tcl";
version = "4.1.0";
src = fetchurl {
url = "mirror://sourceforge/incrtcl/%5BIncr%20Tcl_Tk%5D-source/3.4/itk${version}.tar.gz";
sha256 = "1iy964jfgsfnc1agk1w6bbm44x18ily8d4wmr7cc9z9f4acn2r6s";
};
buildInputs = [ tcl tk incrtcl ];
enableParallelBuilding = true;
configureFlags = [
"--with-tcl=${tcl}/lib"
"--with-tk=${tk}/lib"
"--with-itcl=${incrtcl}/lib"
"--with-tkinclude=${tk.dev}/include"
];
postInstall = ''
rmdir $out/bin
mv $out/lib/itk${version}/* $out/lib
rmdir $out/lib/itk${version}
'';
outputs = [ "out" "dev" "man" ];
meta = with stdenv.lib; {
homepage = "http://incrtcl.sourceforge.net/";
description = "Mega-widget toolkit for incr Tk";
license = licenses.tcltk;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice ];
};
}