diff options
author | Austin Seipp <aseipp@pobox.com> | 2020-02-28 19:57:39 -0600 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2020-02-28 19:57:39 -0600 |
commit | 6e797033c8c385fdf461e99ef9e3212412294291 (patch) | |
tree | 9ddb0d271a4a40c07f582356295c560494583ecc | |
parent | 87f098f0948acd60663effdb19353710b43c4f27 (diff) | |
download | nixpkgs-6e797033c8c385fdf461e99ef9e3212412294291.tar nixpkgs-6e797033c8c385fdf461e99ef9e3212412294291.tar.gz nixpkgs-6e797033c8c385fdf461e99ef9e3212412294291.tar.bz2 nixpkgs-6e797033c8c385fdf461e99ef9e3212412294291.tar.lz nixpkgs-6e797033c8c385fdf461e99ef9e3212412294291.tar.xz nixpkgs-6e797033c8c385fdf461e99ef9e3212412294291.tar.zst nixpkgs-6e797033c8c385fdf461e99ef9e3212412294291.zip |
itktcl: init at 4.1.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
-rw-r--r-- | pkgs/development/libraries/itktcl/default.nix | 37 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/libraries/itktcl/default.nix b/pkgs/development/libraries/itktcl/default.nix new file mode 100644 index 00000000000..ecf2e306b1f --- /dev/null +++ b/pkgs/development/libraries/itktcl/default.nix @@ -0,0 +1,37 @@ +{ 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-tkinclude=${tk.dev}/include" + "--with-itcl=${incrtcl}/lib" + ]; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a9e67b61f09..e8d49ca01b7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12054,6 +12054,7 @@ in ijs = callPackage ../development/libraries/ijs { }; + itktcl = callPackage ../development/libraries/itktcl { }; incrtcl = callPackage ../development/libraries/incrtcl { }; indicator-application-gtk2 = callPackage ../development/libraries/indicator-application/gtk2.nix { }; |