mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
13 lines
440 B
Nix
13 lines
440 B
Nix
{ callPackage, fetchurl, tcl, lib, stdenv, ... } @ args:
|
|
|
|
callPackage ./generic.nix (args // {
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/tcl/tk${tcl.version}.1-src.tar.gz"; # TODO: remove '.1' for v8.6.10 or v8.7.x
|
|
sha256 = "1d7bfkxpacy33w5nahf73lkwxqpff44w1jplg7i2gmwgiaawvjwg";
|
|
};
|
|
|
|
patches = [ ./different-prefix-with-tcl.patch ] ++ lib.optionals stdenv.isDarwin [ ./Fix-bad-install_name-for-libtk8.6.dylib.patch ];
|
|
|
|
})
|