3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/qtbitcointrader/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
831 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, qt5, mkDerivation }:
2014-04-26 21:09:48 +01:00
mkDerivation rec {
2019-08-13 22:52:01 +01:00
pname = "qtbitcointrader";
version = "1.40.43";
2014-04-26 21:09:48 +01:00
src = fetchFromGitHub {
owner = "JulyIGHOR";
repo = "QtBitcoinTrader";
rev = "v${version}";
sha256 = "sha256-u3+Kwn8KunYUpWCd55TQuVVfoSp8hdti93d6hk7Uqx8=";
2014-04-26 21:09:48 +01:00
};
2016-04-23 09:45:24 +01:00
buildInputs = [ qt5.qtbase qt5.qtmultimedia qt5.qtscript ];
2014-04-26 21:09:48 +01:00
postUnpack = "sourceRoot=\${sourceRoot}/src";
2016-04-23 09:45:24 +01:00
configurePhase = ''
runHook preConfigure
2016-04-23 09:45:24 +01:00
qmake $qmakeFlags \
PREFIX=$out \
2014-04-26 21:09:48 +01:00
DESKTOPDIR=$out/share/applications \
ICONDIR=$out/share/pixmaps \
2016-04-23 09:45:24 +01:00
QtBitcoinTrader_Desktop.pro
runHook postConfigure
2014-04-26 21:09:48 +01:00
'';
meta = with lib; {
description = "Bitcoin trading client";
homepage = "https://centrabit.com/";
license = licenses.gpl3;
platforms = qt5.qtbase.meta.platforms;
};
2014-11-12 17:10:54 +00:00
}