pivx: 3.2.0 -> 3.4.0
* pivx: 3.2.0 -> 3.2.2 * altcoins.pivx: 3.2.2 -> 3.3.0 Furthermore, this fixes 2542928 * pivx: 3.3.0 -> 3.4.0 Added `test_pivx` as test ran by nixpkgs * Update pkgs/applications/blockchains/pivx.nix Thanks to @lassulus for fixing this typo! Co-Authored-By: Lassulus <github@lassul.us>
This commit is contained in:
parent
0fa45b865a
commit
e9cd8a2d60
@ -1,5 +1,5 @@
|
|||||||
{ fetchFromGitHub, stdenv, pkgconfig, autoreconfHook
|
{ fetchFromGitHub, stdenv, pkgconfig, autoreconfHook, wrapQtAppsHook ? null
|
||||||
, openssl, db48, boost, zlib, miniupnpc, gmp
|
, openssl_1_0_2, db48, boost, zlib, miniupnpc, gmp
|
||||||
, qrencode, glib, protobuf, yasm, libevent
|
, qrencode, glib, protobuf, yasm, libevent
|
||||||
, utillinux, qtbase ? null, qttools ? null
|
, utillinux, qtbase ? null, qttools ? null
|
||||||
, enableUpnp ? false
|
, enableUpnp ? false
|
||||||
@ -9,18 +9,18 @@
|
|||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pivx";
|
name = "pivx-${version}";
|
||||||
version = "3.2.0";
|
version = "3.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "PIVX-Project";
|
owner = "PIVX-Project";
|
||||||
repo= "PIVX";
|
repo= "PIVX";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1sym6254vhq8qqpxq9qhy10m5167v7x93kqaj1gixc1vwwbxyazy";
|
sha256 = "1fqccdqhbwyvix0ihhbgg2w048i6bhfmazr36h2cn4j65n1fgmi2";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
nativeBuildInputs = [ pkgconfig autoreconfHook ] ++ optionals withGui [ wrapQtAppsHook ];
|
||||||
buildInputs = [ glib gmp openssl db48 yasm boost zlib libevent miniupnpc protobuf utillinux ]
|
buildInputs = [ glib gmp openssl_1_0_2 db48 yasm boost zlib libevent miniupnpc protobuf utillinux ]
|
||||||
++ optionals withGui [ qtbase qttools qrencode ];
|
++ optionals withGui [ qtbase qttools qrencode ];
|
||||||
|
|
||||||
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
|
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
|
||||||
@ -28,6 +28,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional disableWallet "--disable-wallet"
|
++ optional disableWallet "--disable-wallet"
|
||||||
++ optional disableDaemon "--disable-daemon"
|
++ optional disableDaemon "--disable-daemon"
|
||||||
++ optionals withGui [ "--with-gui=yes"
|
++ optionals withGui [ "--with-gui=yes"
|
||||||
|
"--with-unsupported-ssl" # TODO remove this ASAP
|
||||||
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
|
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -39,6 +40,11 @@ stdenv.mkDerivation rec {
|
|||||||
cp share/pixmaps/*128.png $out/share/icons/
|
cp share/pixmaps/*128.png $out/share/icons/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
doInstallCheck = true;
|
||||||
|
installCheckPhase = ''
|
||||||
|
$out/bin/test_pivx
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An open source crypto-currency focused on fast private transactions";
|
description = "An open source crypto-currency focused on fast private transactions";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
@ -50,12 +56,9 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = https://www.dash.org;
|
homepage = https://www.dash.org;
|
||||||
maintainers = with maintainers; [ wucke13 ];
|
maintainers = with maintainers; [ wucke13 ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
# TODO
|
||||||
# upstream doesn't support newer openssl versions
|
# upstream doesn't support newer openssl versions
|
||||||
# https://github.com/PIVX-Project/PIVX/issues/748
|
# https://github.com/PIVX-Project/PIVX/issues/748
|
||||||
# "Your system is most probably using openssl 1.1 which is not the
|
# openssl_1_0_2 should be replaced with openssl ASAP
|
||||||
# officialy supported version. Either use 1.0.1 or run again configure
|
|
||||||
# with the given option."
|
|
||||||
broken = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -21980,7 +21980,7 @@ in
|
|||||||
namecoin = callPackage ../applications/blockchains/namecoin.nix { withGui = true; };
|
namecoin = callPackage ../applications/blockchains/namecoin.nix { withGui = true; };
|
||||||
namecoind = callPackage ../applications/blockchains/namecoin.nix { withGui = false; };
|
namecoind = callPackage ../applications/blockchains/namecoin.nix { withGui = false; };
|
||||||
|
|
||||||
pivx = libsForQt59.callPackage ../applications/blockchains/pivx.nix { withGui = true; };
|
pivx = libsForQt5.callPackage ../applications/blockchains/pivx.nix { withGui = true; };
|
||||||
pivxd = callPackage ../applications/blockchains/pivx.nix { withGui = false; };
|
pivxd = callPackage ../applications/blockchains/pivx.nix { withGui = false; };
|
||||||
|
|
||||||
ethabi = callPackage ../applications/blockchains/ethabi.nix { };
|
ethabi = callPackage ../applications/blockchains/ethabi.nix { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user