2021-12-24 04:21:11 +00:00
|
|
|
{ lib, fetchFromGitHub, qt5, mkDerivation }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-24 04:21:11 +00:00
|
|
|
mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "qtbitcointrader";
|
2021-12-24 04:21:11 +00:00
|
|
|
version = "1.40.43";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-24 04:21:11 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JulyIGHOR";
|
|
|
|
repo = "QtBitcoinTrader";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-u3+Kwn8KunYUpWCd55TQuVVfoSp8hdti93d6hk7Uqx8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ qt5.qtbase qt5.qtmultimedia qt5.qtscript ];
|
|
|
|
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/src";
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
runHook preConfigure
|
|
|
|
qmake $qmakeFlags \
|
|
|
|
PREFIX=$out \
|
|
|
|
DESKTOPDIR=$out/share/applications \
|
|
|
|
ICONDIR=$out/share/pixmaps \
|
|
|
|
QtBitcoinTrader_Desktop.pro
|
|
|
|
runHook postConfigure
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Bitcoin trading client";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "QtBitcoinTrader";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://centrabit.com/";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = qt5.qtbase.meta.platforms;
|
|
|
|
};
|
|
|
|
}
|