diff options
author | Will Dietz <w@wdtz.org> | 2019-01-19 21:35:05 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2019-01-19 21:35:05 -0600 |
commit | 6507d48edae6a54fa8e05b7e13638e99dbd46f19 (patch) | |
tree | 053d14300b3ebd82a6ef5f26bc5231fabef4ed95 | |
parent | c869590dea86590fc60558a150dc9c8d3ed34ebc (diff) | |
download | nixpkgs-6507d48edae6a54fa8e05b7e13638e99dbd46f19.tar nixpkgs-6507d48edae6a54fa8e05b7e13638e99dbd46f19.tar.gz nixpkgs-6507d48edae6a54fa8e05b7e13638e99dbd46f19.tar.bz2 nixpkgs-6507d48edae6a54fa8e05b7e13638e99dbd46f19.tar.lz nixpkgs-6507d48edae6a54fa8e05b7e13638e99dbd46f19.tar.xz nixpkgs-6507d48edae6a54fa8e05b7e13638e99dbd46f19.tar.zst nixpkgs-6507d48edae6a54fa8e05b7e13638e99dbd46f19.zip |
spin: use dropbox "mirror" again to avoid problems
-rw-r--r-- | pkgs/development/tools/analysis/spin/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/tools/analysis/spin/default.nix b/pkgs/development/tools/analysis/spin/default.nix index 8717c99cb46..fbb7eca0ef5 100644 --- a/pkgs/development/tools/analysis/spin/default.nix +++ b/pkgs/development/tools/analysis/spin/default.nix @@ -11,7 +11,11 @@ in stdenv.mkDerivation rec { url-version = stdenv.lib.replaceChars ["."] [""] version; src = fetchurl { - url = "http://spinroot.com/spin/Src/spin${url-version}.tar.gz"; + # The homepage is behind CloudFlare anti-DDoS protection, which blocks cURL. + # Dropbox mirror from developers: + # https://www.dropbox.com/sh/fgzipzp4wpo3qc1/AADZPqS4aoR-pjNF6OQXRLQHa + # (note that this URL doesn't work aross versions and hash should come from official site) + url = "https://www.dropbox.com/sh/fgzipzp4wpo3qc1/AABtxFePMJmPxsxSvU5cpxh8a/spin${url-version}.tar.gz?raw=1"; sha256 = "07b7wk3qyfnp4pgwicqd33l7i1krzyihx0cf9zkv81ywaklf5vll"; }; |