tcl: Make generic and add 8.5

This commit is contained in:
William A. Kennington III 2015-04-26 21:15:25 -07:00
parent 55a64a5ddb
commit d7c0e3eaf8
4 changed files with 33 additions and 10 deletions

View File

@ -0,0 +1,11 @@
{ callPackage, fetchurl, ... } @ args:
callPackage ./generic.nix (args // rec {
release = "8.5";
version = "${release}.18";
src = fetchurl {
url = "mirror://sourceforge/tcl/tcl${version}-src.tar.gz";
sha256 = "1jfkqp2fr0xh6xvaqx134hkfa5kh7agaqbxm6lhjbpvvc1xfaaq3";
};
})

View File

@ -0,0 +1,11 @@
{ callPackage, fetchurl, ... } @ args:
callPackage ./generic.nix (args // rec {
release = "8.6";
version = "${release}.4";
src = fetchurl {
url = "mirror://sourceforge/tcl/tcl${version}-src.tar.gz";
sha256 = "13cwa4bc85ylf5gfj9vk182lvgy60qni3f7gbxghq78wk16djvly";
};
})

View File

@ -1,15 +1,14 @@
{ stdenv, fetchurl }:
let
release = "8.6";
in
{ stdenv, fetchurl
# Version specific stuff
, release, version, src
, ...
}:
stdenv.mkDerivation rec {
name = "tcl-${version}";
version = "${release}.4";
src = fetchurl {
url = "mirror://sourceforge/tcl/tcl${version}-src.tar.gz";
sha256 = "13cwa4bc85ylf5gfj9vk182lvgy60qni3f7gbxghq78wk16djvly";
};
inherit src;
preConfigure = "cd unix";

View File

@ -4791,7 +4791,9 @@ let
sysPerl = callPackage ../development/interpreters/perl/sys-perl { };
tcl = callPackage ../development/interpreters/tcl { };
tcl = tcl-8_6;
tcl-8_5 = callPackage ../development/interpreters/tcl/8.5.nix { };
tcl-8_6 = callPackage ../development/interpreters/tcl/8.6.nix { };
xulrunner = callPackage ../development/interpreters/xulrunner {
inherit (gnome) libIDL;