From 8def4d308e66b3d145f26500d74c92e9d09a9320 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Fri, 15 Apr 2022 13:01:06 -0500 Subject: [PATCH] Revert "cln: fix darwin build" This reverts commit a3e1e9271e0ff87309d44f9817baadb09b305757. --- pkgs/development/libraries/cln/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/cln/default.nix b/pkgs/development/libraries/cln/default.nix index 5c5edea0faec..23bbd84a2096 100644 --- a/pkgs/development/libraries/cln/default.nix +++ b/pkgs/development/libraries/cln/default.nix @@ -1,13 +1,12 @@ -{ lib, stdenv, fetchgit, gmp }: +{ lib, stdenv, fetchurl, gmp }: stdenv.mkDerivation rec { pname = "cln"; version = "1.3.6"; - src = fetchgit { - url = "git://www.ginac.de/cln.git"; - rev = "cln_${builtins.replaceStrings [ "." ] [ "-" ] version}"; - sha256 = "sha256-P32F4TIDhE2Dwzydq8iFK6ch3kICJcXeeXHs5PBQG88="; + src = fetchurl { + url = "${meta.homepage}${pname}-${version}.tar.bz2"; + sha256 = "0jlq9l4hphk7qqlgqj9ihjp4m3rwjbhk6q4v00lsbgbri07574pl"; }; buildInputs = [ gmp ];