@@ -7,15 +7,16 @@ let
77
88in stdenv.mkDerivation rec {
99 name = "spin-${version}";
10− version = "6.4.8";
10+ version = "6.4.9";
1111 url-version = stdenv.lib.replaceChars ["."] [""] version;
1212
1313 src = fetchurl {
1414 # The homepage is behind CloudFlare anti-DDoS protection, which blocks cURL.
1515 # Dropbox mirror from developers:
1616 # https://www.dropbox.com/sh/fgzipzp4wpo3qc1/AADZPqS4aoR-pjNF6OQXRLQHa
17− url = "https://www.dropbox.com/sh/fgzipzp4wpo3qc1/AADya1lOBJZDbgWGrUSq-dfHa/spin${url-version}.tar.gz?raw=1";
18− sha256 = "1rvamdsf0igzpndlr4ck7004jw9x1bg4xyf78zh5k9sp848vnd80";
17+ # (note that this URL doesn't work aross versions and hash should come from official site)
18+ url = "https://www.dropbox.com/sh/fgzipzp4wpo3qc1/AABtxFePMJmPxsxSvU5cpxh8a/spin${url-version}.tar.gz?raw=1";
19+ sha256 = "07b7wk3qyfnp4pgwicqd33l7i1krzyihx0cf9zkv81ywaklf5vll";
1920 };
2021
2122 nativeBuildInputs = [ makeWrapper ];
@@ -24,6 +25,8 @@ in stdenv.mkDerivation rec {
2425 sourceRoot = "Spin/Src${version}";
2526
2627 installPhase = ''
28+ install -Dm644 ../Man/spin.1 $out/share/man/man1/spin.1
29+
2730 install -Dm755 spin $out/bin/spin
2831 wrapProgram $out/bin/spin \
2932 --prefix PATH : ${binPath}