nixpkgs/pkgs/applications/misc/qtbitcointrader/default.nix

36 lines
878 B
Nix
Raw Normal View History

{ stdenv, fetchzip, qt5 }:
2014-04-26 22:09:48 +02:00
let
version = "1.40.40";
2014-04-26 22:09:48 +02:00
in
stdenv.mkDerivation {
name = "qtbitcointrader-${version}";
src = fetchzip {
2016-04-23 10:45:24 +02:00
url = "https://github.com/JulyIGHOR/QtBitcoinTrader/archive/v${version}.tar.gz";
sha256 = "10gxxkmn7w2hbmznpx6ybbbvlvh640nyzya1yfn162vzbjg14jdi";
2014-04-26 22:09:48 +02:00
};
2016-04-23 10:45:24 +02:00
buildInputs = [ qt5.qtbase qt5.qtmultimedia qt5.qtscript ];
2014-04-26 22:09:48 +02:00
postUnpack = "sourceRoot=\${sourceRoot}/src";
2016-04-23 10:45:24 +02:00
configurePhase = ''
runHook preConfigure
2016-04-23 10:45:24 +02:00
qmake $qmakeFlags \
PREFIX=$out \
2014-04-26 22:09:48 +02:00
DESKTOPDIR=$out/share/applications \
ICONDIR=$out/share/pixmaps \
2016-04-23 10:45:24 +02:00
QtBitcoinTrader_Desktop.pro
runHook postConfigure
2014-04-26 22:09:48 +02:00
'';
meta = with stdenv.lib; {
description = "Bitcoin trading client";
homepage = https://centrabit.com/;
license = licenses.gpl3;
platforms = qt5.qtbase.meta.platforms;
maintainers = [ maintainers.ehmry ];
};
2014-11-12 18:10:54 +01:00
}