diff --git a/pkgs/applications/blockchains/clboss/default.nix b/pkgs/applications/blockchains/clboss/default.nix index c016e0f37e38..0cad0ed2ae54 100644 --- a/pkgs/applications/blockchains/clboss/default.nix +++ b/pkgs/applications/blockchains/clboss/default.nix @@ -1,6 +1,8 @@ { lib , stdenv -, fetchurl +, fetchFromGitHub +, autoconf-archive +, autoreconfHook , pkg-config , curlWithGnuTls , libev @@ -9,14 +11,16 @@ stdenv.mkDerivation rec { pname = "clboss"; - version = "0.12"; + version = "0.13"; - src = fetchurl { - url = "https://github.com/ZmnSCPxj/clboss/releases/download/${version}/clboss-${version}.tar.gz"; - hash = "sha256-UZcSfbpp3vPsD3CDukp+r5Z60h0UEWTduqF4DhJ+H2U="; + src = fetchFromGitHub { + owner = "ZmnSCPxj"; + repo = "clboss"; + rev = "v${version}"; + hash = "sha256-NP9blymdqDXo/OtGLQg/MXK24PpPvCrzqXRdtfCvpfI="; }; - nativeBuildInputs = [ pkg-config libev curlWithGnuTls sqlite ]; + nativeBuildInputs = [ autoconf-archive autoreconfHook pkg-config libev curlWithGnuTls sqlite ]; enableParallelBuilding = true;