Revert "cln: fix build on darwin"
This commit is contained in:
parent
7ef1df6374
commit
bc0d3c4b47
|
@ -1,14 +1,10 @@
|
||||||
{ lib, stdenv, fetchurl, fetchgit, gmp }:
|
{ lib, stdenv, fetchurl, gmp }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cln";
|
pname = "cln";
|
||||||
version = "1.3.6";
|
version = "1.3.6";
|
||||||
|
|
||||||
src = if stdenv.isDarwin then fetchgit {
|
src = fetchurl {
|
||||||
url = "git://www.ginac.de/cln.git";
|
|
||||||
rev = "cln_${builtins.replaceStrings [ "." ] [ "-" ] version}";
|
|
||||||
sha256 = "sha256-P32F4TIDhE2Dwzydq8iFK6ch3kICJcXeeXHs5PBQG88=";
|
|
||||||
} else fetchurl {
|
|
||||||
url = "${meta.homepage}${pname}-${version}.tar.bz2";
|
url = "${meta.homepage}${pname}-${version}.tar.bz2";
|
||||||
sha256 = "0jlq9l4hphk7qqlgqj9ihjp4m3rwjbhk6q4v00lsbgbri07574pl";
|
sha256 = "0jlq9l4hphk7qqlgqj9ihjp4m3rwjbhk6q4v00lsbgbri07574pl";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue