commit
f9aa6fa2cd
|
@ -1,5 +1,5 @@
|
||||||
{ fetchFromGitHub, stdenv, pkgconfig, autoreconfHook, wrapQtAppsHook ? null
|
{ fetchFromGitHub, stdenv, pkgconfig, autoreconfHook, wrapQtAppsHook ? null
|
||||||
, openssl_1_0_2, db48, boost, zlib, miniupnpc, gmp
|
, openssl, 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
|
||||||
|
@ -10,17 +10,17 @@
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pivx-${version}";
|
name = "pivx-${version}";
|
||||||
version = "4.0.2";
|
version = "4.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "PIVX-Project";
|
owner = "PIVX-Project";
|
||||||
repo= "PIVX";
|
repo= "PIVX";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "12lnp318k8dx1sar24zfmv2imnzs30srssnlpb31y7hcxhz0wpc5";
|
sha256 = "03ndk46h6093v8s18d5iffz48zhlshq7jrk6vgpjfs6z2iqgd2sy";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig autoreconfHook ] ++ optionals withGui [ wrapQtAppsHook ];
|
nativeBuildInputs = [ pkgconfig autoreconfHook ] ++ optionals withGui [ wrapQtAppsHook ];
|
||||||
buildInputs = [ glib gmp openssl_1_0_2 db48 yasm boost zlib libevent miniupnpc protobuf utillinux ]
|
buildInputs = [ glib gmp openssl 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,7 +28,6 @@ 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"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -56,9 +55,5 @@ 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
|
|
||||||
# https://github.com/PIVX-Project/PIVX/issues/748
|
|
||||||
# openssl_1_0_2 should be replaced with openssl ASAP
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue