tcl: Make generic and add 8.5
This commit is contained in:
parent
55a64a5ddb
commit
d7c0e3eaf8
11
pkgs/development/interpreters/tcl/8.5.nix
Normal file
11
pkgs/development/interpreters/tcl/8.5.nix
Normal 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";
|
||||
};
|
||||
})
|
11
pkgs/development/interpreters/tcl/8.6.nix
Normal file
11
pkgs/development/interpreters/tcl/8.6.nix
Normal 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";
|
||||
};
|
||||
})
|
@ -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";
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user