Merge pull request #54298 from dtzWill/update/spin-6.4.9
spin: 6.4.8 -> 6.4.9
This commit is contained in:
commit
b71ed9c888
|
@ -7,15 +7,16 @@ let
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "spin-${version}";
|
name = "spin-${version}";
|
||||||
version = "6.4.8";
|
version = "6.4.9";
|
||||||
url-version = stdenv.lib.replaceChars ["."] [""] version;
|
url-version = stdenv.lib.replaceChars ["."] [""] version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
# The homepage is behind CloudFlare anti-DDoS protection, which blocks cURL.
|
# The homepage is behind CloudFlare anti-DDoS protection, which blocks cURL.
|
||||||
# Dropbox mirror from developers:
|
# Dropbox mirror from developers:
|
||||||
# https://www.dropbox.com/sh/fgzipzp4wpo3qc1/AADZPqS4aoR-pjNF6OQXRLQHa
|
# https://www.dropbox.com/sh/fgzipzp4wpo3qc1/AADZPqS4aoR-pjNF6OQXRLQHa
|
||||||
url = "https://www.dropbox.com/sh/fgzipzp4wpo3qc1/AADya1lOBJZDbgWGrUSq-dfHa/spin${url-version}.tar.gz?raw=1";
|
# (note that this URL doesn't work aross versions and hash should come from official site)
|
||||||
sha256 = "1rvamdsf0igzpndlr4ck7004jw9x1bg4xyf78zh5k9sp848vnd80";
|
url = "https://www.dropbox.com/sh/fgzipzp4wpo3qc1/AABtxFePMJmPxsxSvU5cpxh8a/spin${url-version}.tar.gz?raw=1";
|
||||||
|
sha256 = "07b7wk3qyfnp4pgwicqd33l7i1krzyihx0cf9zkv81ywaklf5vll";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -24,6 +25,8 @@ in stdenv.mkDerivation rec {
|
||||||
sourceRoot = "Spin/Src${version}";
|
sourceRoot = "Spin/Src${version}";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
install -Dm644 ../Man/spin.1 $out/share/man/man1/spin.1
|
||||||
|
|
||||||
install -Dm755 spin $out/bin/spin
|
install -Dm755 spin $out/bin/spin
|
||||||
wrapProgram $out/bin/spin \
|
wrapProgram $out/bin/spin \
|
||||||
--prefix PATH : ${binPath}
|
--prefix PATH : ${binPath}
|
||||||
|
|
Loading…
Reference in a new issue