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

36 lines
826 B
Nix
Raw Normal View History

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