darkcoin: use fetchzip to get stable hash
This commit is contained in:
parent
7390e700a8
commit
9904d916b6
@ -1,4 +1,4 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig
|
{ fetchzip, stdenv, pkgconfig
|
||||||
, openssl, db48, boost, zlib, miniupnpc, qt4, qrencode, glib, protobuf
|
, openssl, db48, boost, zlib, miniupnpc, qt4, qrencode, glib, protobuf
|
||||||
, utillinux
|
, utillinux
|
||||||
, withGui }:
|
, withGui }:
|
||||||
@ -9,9 +9,9 @@ stdenv.mkDerivation rec {
|
|||||||
name = "darkcoin" + (toString (optional (!withGui) "d")) + "-" + version;
|
name = "darkcoin" + (toString (optional (!withGui) "d")) + "-" + version;
|
||||||
version = "0.10.99.99";
|
version = "0.10.99.99";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchzip {
|
||||||
url = "https://github.com/darkcoin/darkcoin/archive/v${version}.tar.gz";
|
url = "https://github.com/darkcoin/darkcoin/archive/v${version}.tar.gz";
|
||||||
sha256 = "1a05a7l878klg4wqk9ykndkhyknrd7jp75v38k99qgk5fi8wa752";
|
sha256 = "0sigvimqwc1mvaq43a8c2aq7fjla2ncafrals08qfq3jd6in8b4f";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig glib openssl db48 boost zlib miniupnpc ]
|
buildInputs = [ pkgconfig glib openssl db48 boost zlib miniupnpc ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user