Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 19 lines 591 B view raw
1{ callPackage, fetchurl, ... }@args: 2 3callPackage ./generic.nix ( 4 args 5 // rec { 6 version = "1.82.0"; 7 8 src = fetchurl { 9 urls = [ 10 "mirror://sourceforge/boost/boost_${builtins.replaceStrings [ "." ] [ "_" ] version}.tar.bz2" 11 "https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${ 12 builtins.replaceStrings [ "." ] [ "_" ] version 13 }.tar.bz2" 14 ]; 15 # SHA256 from http://www.boost.org/users/history/version_1_82_0.html 16 sha256 = "a6e1ab9b0860e6a2881dd7b21fe9f737a095e5f33a3a874afc6a345228597ee6"; 17 }; 18 } 19)