2014-11-12 20:10:54 +03:00
|
|
|
{ stdenv, fetchFromGitHub, qt }:
|
2014-04-27 00:09:48 +04:00
|
|
|
|
|
|
|
let
|
2015-01-12 02:09:51 +03:00
|
|
|
version = "1.08.03";
|
2014-04-27 00:09:48 +04:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "qtbitcointrader-${version}";
|
|
|
|
|
2014-11-12 20:10:54 +03:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "JulyIGHOR";
|
|
|
|
repo = "QtBitcoinTrader";
|
2015-01-12 02:09:51 +03:00
|
|
|
rev = "ee30cf158fa8535f2155a387558d3b8994728c28";
|
|
|
|
sha256 = "0kxb0n11agqid0nyqdspfndm03b8l0nl8x4yx2hsrizs6m5z08h4";
|
2014-04-27 00:09:48 +04:00
|
|
|
};
|
|
|
|
|
2014-11-12 20:10:54 +03:00
|
|
|
buildInputs = [ qt ];
|
2014-04-27 00:09:48 +04:00
|
|
|
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/src";
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
qmake \
|
|
|
|
PREFIX=$out \
|
|
|
|
DESKTOPDIR=$out/share/applications \
|
|
|
|
ICONDIR=$out/share/pixmaps \
|
|
|
|
QtBitcoinTrader_Desktop.pro
|
|
|
|
'';
|
|
|
|
|
2014-11-12 20:10:54 +03:00
|
|
|
meta = with stdenv.lib;
|
|
|
|
{ description = "Secure bitcoin trading client";
|
|
|
|
homepage = https://centrabit.com/;
|
|
|
|
license = licenses.lgpl3;
|
2015-01-12 02:09:51 +03:00
|
|
|
platforms = qt.meta.platforms;
|
2015-12-06 00:41:25 +03:00
|
|
|
maintainers = [ maintainers.ehmry ];
|
2014-11-12 20:10:54 +03:00
|
|
|
};
|
|
|
|
}
|