mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +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 }:
|
{ lib, stdenv, fetchurl, tcl, tk, incrtcl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
tcl.mkTclDerivation rec {
|
||||||
pname = "itk-tcl";
|
pname = "itk-tcl";
|
||||||
version = "4.1.0";
|
version = "4.1.0";
|
||||||
|
|
||||||
@ -9,11 +9,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1iy964jfgsfnc1agk1w6bbm44x18ily8d4wmr7cc9z9f4acn2r6s";
|
sha256 = "1iy964jfgsfnc1agk1w6bbm44x18ily8d4wmr7cc9z9f4acn2r6s";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ tcl tk incrtcl ];
|
buildInputs = [ tk incrtcl ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-tcl=${tcl}/lib"
|
|
||||||
"--with-tk=${tk}/lib"
|
"--with-tk=${tk}/lib"
|
||||||
"--with-itcl=${incrtcl}/lib"
|
"--with-itcl=${incrtcl}/lib"
|
||||||
"--with-tkinclude=${tk.dev}/include"
|
"--with-tkinclude=${tk.dev}/include"
|
||||||
|
Loading…
Reference in New Issue
Block a user