From 474605261783dd797b7e7c575f5d858f25171b1d Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Mon, 14 Oct 2024 12:17:18 +0200 Subject: [PATCH] clboss: 0.13.3 -> 0.14.0 --- pkgs/applications/blockchains/clboss/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/blockchains/clboss/default.nix b/pkgs/applications/blockchains/clboss/default.nix index 2695198bf0e2..e443aac8d03a 100644 --- a/pkgs/applications/blockchains/clboss/default.nix +++ b/pkgs/applications/blockchains/clboss/default.nix @@ -1,6 +1,6 @@ { lib , stdenv -, fetchFromGitHub +, fetchzip , autoconf-archive , autoreconfHook , pkg-config @@ -11,13 +11,12 @@ stdenv.mkDerivation rec { pname = "clboss"; - version = "0.13.3"; + version = "0.14.0"; - src = fetchFromGitHub { - owner = "ZmnSCPxj"; - repo = "clboss"; - rev = "v${version}"; - hash = "sha256-T61rkTEGLCZrEBp1WFhHnQ7DQyhctMf5lgbOs6u9E0o="; + # The release tarball includes the pre-generated file `commit_hash.h` that is required for building + src = fetchzip { + url = "https://github.com/ZmnSCPxj/clboss/releases/download/v${version}/clboss-v${version}.tar.gz"; + hash = "sha256-Qp8br4ZxiqaxFZ6Tb+wFpqp2APmnU9QdNkM8MyGAtrw="; }; nativeBuildInputs = [ autoconf-archive autoreconfHook pkg-config libev curlWithGnuTls sqlite ];