nixpkgs/pkgs/development/libraries/tk/8.6.nix

13 lines
442 B
Nix
Raw Normal View History

{ callPackage, fetchurl, tcl, stdenv, ... } @ args:
2015-06-19 15:54:35 +02:00
2019-08-13 23:52:01 +02:00
callPackage ./generic.nix (args // {
2015-06-19 15:54:35 +02:00
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";
2015-06-19 15:54:35 +02:00
};
patches = [ ./different-prefix-with-tcl.patch ] ++ stdenv.lib.optionals stdenv.isDarwin [ ./Fix-bad-install_name-for-libtk8.6.dylib.patch ];
2015-06-19 15:54:35 +02:00
})