diff options
Diffstat (limited to 'pkgs/crypto/sia')
-rw-r--r-- | pkgs/crypto/sia/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/crypto/sia/default.nix b/pkgs/crypto/sia/default.nix index 45908afb..27e40149 100644 --- a/pkgs/crypto/sia/default.nix +++ b/pkgs/crypto/sia/default.nix | |||
@@ -1,12 +1,15 @@ | |||
1 | { stdenv, fetchzip }: | 1 | { stdenv, fetchzip, autoPatchelfHook }: |
2 | stdenv.mkDerivation rec { | 2 | stdenv.mkDerivation rec { |
3 | version = "v1.3.7"; | 3 | version = "v1.4.3"; |
4 | name = "Sia-${version}"; | 4 | name = "Sia-${version}"; |
5 | src = fetchzip { | 5 | src = fetchzip { |
6 | url = "https://sia.tech/static/releases/${name}-linux-amd64.zip"; | 6 | url = "https://sia.tech/static/releases/${name}-linux-amd64.zip"; |
7 | sha256 = "1ljzwrlkx4hc16r8siiyakn039afipp95dyr83c8yfq3r3bfasqd"; | 7 | sha256 = "1i67zjzk4cwfzb1dxaxc1m41fa44sz1d0mf6dmlyg6pm4cyqizki"; |
8 | }; | 8 | }; |
9 | phases = "installPhase"; | 9 | phases = "installPhase fixupPhase"; |
10 | nativeBuildInputs = [ | ||
11 | autoPatchelfHook | ||
12 | ]; | ||
10 | installPhase = '' | 13 | installPhase = '' |
11 | mkdir -p $out/share/doc | 14 | mkdir -p $out/share/doc |
12 | mkdir -p $out/bin | 15 | mkdir -p $out/bin |
@@ -14,6 +17,5 @@ stdenv.mkDerivation rec { | |||
14 | cp -a $src/doc $out/share/doc/sia | 17 | cp -a $src/doc $out/share/doc/sia |
15 | cp -a $src/LICENSE $src/README.md $out/share/sia | 18 | cp -a $src/LICENSE $src/README.md $out/share/sia |
16 | cp -a $src/{siac,siad} $out/bin | 19 | cp -a $src/{siac,siad} $out/bin |
17 | cp -a $src/{siac,siad}.sig $out/share/sia/ | ||
18 | ''; | 20 | ''; |
19 | } | 21 | } |