mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 15:47:28 +00:00
ee80707159
I prefer not to be associated with anything blockchain related.
36 lines
845 B
Nix
36 lines
845 B
Nix
{ lib, fetchzip, qt5, mkDerivation }:
|
|
|
|
let
|
|
version = "1.40.43";
|
|
in
|
|
mkDerivation {
|
|
pname = "qtbitcointrader";
|
|
inherit version;
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/JulyIGHOR/QtBitcoinTrader/archive/v${version}.tar.gz";
|
|
sha256 = "07xbsi78cykpyxidp1bw5ahmymdrs2afg7b0lla7dfhagz18lzxv";
|
|
};
|
|
|
|
buildInputs = [ qt5.qtbase qt5.qtmultimedia qt5.qtscript ];
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/src";
|
|
|
|
configurePhase = ''
|
|
runHook preConfigure
|
|
qmake $qmakeFlags \
|
|
PREFIX=$out \
|
|
DESKTOPDIR=$out/share/applications \
|
|
ICONDIR=$out/share/pixmaps \
|
|
QtBitcoinTrader_Desktop.pro
|
|
runHook postConfigure
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Bitcoin trading client";
|
|
homepage = "https://centrabit.com/";
|
|
license = licenses.gpl3;
|
|
platforms = qt5.qtbase.meta.platforms;
|
|
};
|
|
}
|