mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
Merge pull request #185913 from gbtb/litecoin-0.21
litecoin: 0.18.1 -> 0.21.2.1
This commit is contained in:
commit
03858759ca
@ -6,23 +6,24 @@
|
|||||||
, withGui ? true, libevent
|
, withGui ? true, libevent
|
||||||
, qtbase, qttools
|
, qtbase, qttools
|
||||||
, zeromq
|
, zeromq
|
||||||
|
, fmt
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "litecoin" + optionalString (!withGui) "d";
|
pname = "litecoin" + optionalString (!withGui) "d";
|
||||||
version = "0.18.1";
|
version = "0.21.2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "litecoin-project";
|
owner = "litecoin-project";
|
||||||
repo = "litecoin";
|
repo = "litecoin";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "11753zhyx1kmrlljc6kbjwrcb06dfcrsqvmw3iaki9a132qk6l5c";
|
sha256 = "sha256-WJFdac5hGrHy9o3HzjS91zH+4EtJY7kUJAQK+aZaEyo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||||
buildInputs = [ openssl db48 boost zlib zeromq
|
buildInputs = [ openssl db48 boost zlib zeromq fmt
|
||||||
miniupnpc glib protobuf util-linux libevent ]
|
miniupnpc glib protobuf util-linux libevent ]
|
||||||
++ optionals stdenv.isDarwin [ AppKit ]
|
++ optionals stdenv.isDarwin [ AppKit ]
|
||||||
++ optionals withGui [ qtbase qttools qrencode ];
|
++ optionals withGui [ qtbase qttools qrencode ];
|
||||||
@ -34,6 +35,11 @@ mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkPhase = ''
|
||||||
|
./src/test/test_litecoin
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
|
||||||
description = "A lite version of Bitcoin using scrypt as a proof-of-work algorithm";
|
description = "A lite version of Bitcoin using scrypt as a proof-of-work algorithm";
|
||||||
|
@ -32369,8 +32369,9 @@ with pkgs;
|
|||||||
|
|
||||||
lightning-pool = callPackage ../applications/blockchains/lightning-pool { };
|
lightning-pool = callPackage ../applications/blockchains/lightning-pool { };
|
||||||
|
|
||||||
litecoin = libsForQt514.callPackage ../applications/blockchains/litecoin {
|
litecoin = libsForQt5.callPackage ../applications/blockchains/litecoin {
|
||||||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
inherit (darwin.apple_sdk.frameworks) AppKit;
|
||||||
|
boost = pkgs.boost174;
|
||||||
};
|
};
|
||||||
litecoind = litecoin.override { withGui = false; };
|
litecoind = litecoin.override { withGui = false; };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user