nixpkgs/pkgs/applications/misc/qtbitcointrader/default.nix
2016-04-23 11:12:25 +02:00

33 lines
838 B
Nix

{ stdenv, fetchurl, qt5 }:
let
version = "1.10.01";
in
stdenv.mkDerivation {
name = "qtbitcointrader-${version}";
src = fetchurl {
url = "https://github.com/JulyIGHOR/QtBitcoinTrader/archive/v${version}.tar.gz";
sha256 = "0pgj8rsk9yxvls7yjpzblzbci2vvd0mlf9c7wdbjhwf6qyi7dfi3";
};
buildInputs = [ qt5.qtbase qt5.qtmultimedia qt5.qtscript ];
postUnpack = "sourceRoot=\${sourceRoot}/src";
configurePhase = ''
qmake $qmakeFlags \
PREFIX=$out \
DESKTOPDIR=$out/share/applications \
ICONDIR=$out/share/pixmaps \
QtBitcoinTrader_Desktop.pro
'';
meta = with stdenv.lib;
{ description = "Bitcoin trading client";
homepage = https://centrabit.com/;
license = licenses.lgpl3;
platforms = qt5.qtbase.meta.platforms;
maintainers = [ maintainers.ehmry ];
};
}