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

36 lines
844 B
Nix
Raw Normal View History

2014-11-12 20:10:54 +03:00
{ stdenv, fetchFromGitHub, qt }:
2014-04-27 00:09:48 +04:00
let
2014-11-12 20:10:54 +03:00
version = "1.08.02";
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";
rev = "452db3ee9447b8f9e7d63253f834b31394b23d92";
sha256 = "1l2a021dy2j4sr4nmq7wn27r2zli9nigwbviqzain3nlyzq9fjpg";
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;
platforms = platforms.linux; # arbitrary choice
maintainers = [ maintainers.emery ];
};
}