mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 17:39:34 +00:00
elements: 0.18.1.12 -> 0.21.0
This commit is contained in:
parent
da675ab0ef
commit
05b60061ac
|
@ -17,7 +17,6 @@
|
||||||
, qtbase ? null
|
, qtbase ? null
|
||||||
, qttools ? null
|
, qttools ? null
|
||||||
, python3
|
, python3
|
||||||
, openssl
|
|
||||||
, withGui
|
, withGui
|
||||||
, withWallet ? true
|
, withWallet ? true
|
||||||
}:
|
}:
|
||||||
|
@ -25,11 +24,11 @@
|
||||||
with lib;
|
with lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = if withGui then "elements" else "elementsd";
|
pname = if withGui then "elements" else "elementsd";
|
||||||
version = "0.18.1.12";
|
version = "0.21.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/ElementsProject/elements/archive/elements-${version}.tar.gz";
|
url = "https://github.com/ElementsProject/elements/archive/elements-${version}.tar.gz";
|
||||||
sha256 = "84a51013596b09c62913649ac90373622185f779446ee7e65b4b258a2876609f";
|
sha256 = "0d9mcb0nw9qqhv0jhpddi9i4iry3w7b5jifsl5kpcw82qrkvgfgj";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
|
@ -38,7 +37,7 @@ stdenv.mkDerivation rec {
|
||||||
++ optionals stdenv.isDarwin [ hexdump ]
|
++ optionals stdenv.isDarwin [ hexdump ]
|
||||||
++ optionals withGui [ wrapQtAppsHook ];
|
++ optionals withGui [ wrapQtAppsHook ];
|
||||||
|
|
||||||
buildInputs = [ boost libevent miniupnpc zeromq zlib openssl ]
|
buildInputs = [ boost libevent miniupnpc zeromq zlib ]
|
||||||
++ optionals withWallet [ db48 sqlite ]
|
++ optionals withWallet [ db48 sqlite ]
|
||||||
++ optionals withGui [ qrencode qtbase qttools ];
|
++ optionals withGui [ qrencode qtbase qttools ];
|
||||||
|
|
||||||
|
@ -79,8 +78,5 @@ stdenv.mkDerivation rec {
|
||||||
maintainers = with maintainers; [ prusnak ];
|
maintainers = with maintainers; [ prusnak ];
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
# Qt GUI is currently broken in upstream
|
|
||||||
# No rule to make target 'qt/res/rendered_icons/about.png', needed by 'qt/qrc_bitcoin.cpp'.
|
|
||||||
broken = withGui;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue