Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 callPackage, 3 fetchzip, 4 tcl, 5 ... 6}@args: 7 8callPackage ./generic.nix ( 9 args 10 // { 11 12 src = fetchzip { 13 url = "mirror://sourceforge/tcl/tk${tcl.version}-src.tar.gz"; 14 hash = "sha256-eX9HSPnNHeWkCaH0TBhmxQ3keTb4he3KY5rS1w4ubTo="; 15 }; 16 17 patches = [ 18 # https://core.tcl-lang.org/tk/tktview/765642ffffffffffffff 19 ./tk-8_6_13-find-library.patch 20 ]; 21 22 } 23)