Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 20 lines 522 B view raw
1{ callPackage, fetchurl, ... }@args: 2 3callPackage ./generic.nix ( 4 args 5 // rec { 6 release = "8.5"; 7 version = "${release}.19"; 8 9 # Note: when updating, the hash in pkgs/development/libraries/tk/8.5.nix must also be updated! 10 11 src = fetchurl { 12 url = "mirror://sourceforge/tcl/tcl${version}-src.tar.gz"; 13 sha256 = "066vlr9k5f44w9gl9382hlxnryq00d5p6c7w5vq1fgc7v9b49w6k"; 14 }; 15 16 extraPatch = '' 17 substituteInPlace 'generic/tclInt.h' --replace-fail 'typedef int ptrdiff_t;' "" 18 ''; 19 } 20)