mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
itktcl: Simplify package with tcl.mkTclDerivation
This commit is contained in:
parent
c247eb0bce
commit
ad0d23d5e1
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchurl, tcl, tk, incrtcl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
tcl.mkTclDerivation rec {
|
||||
pname = "itk-tcl";
|
||||
version = "4.1.0";
|
||||
|
||||
@ -9,11 +9,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1iy964jfgsfnc1agk1w6bbm44x18ily8d4wmr7cc9z9f4acn2r6s";
|
||||
};
|
||||
|
||||
buildInputs = [ tcl tk incrtcl ];
|
||||
buildInputs = [ tk incrtcl ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = [
|
||||
"--with-tcl=${tcl}/lib"
|
||||
"--with-tk=${tk}/lib"
|
||||
"--with-itcl=${incrtcl}/lib"
|
||||
"--with-tkinclude=${tk.dev}/include"
|
||||
|
Loading…
Reference in New Issue
Block a user