nixpkgs/pkgs/applications/misc/qtbitcointrader/default.nix
R. RyanTM f500a83e93 qtbitcointrader: 1.40.23 -> 1.40.30
* qtbitcointrader: 1.40.23 -> 1.40.30 (#52077)

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/qtbitcointrader/versions

* qtbitcointrader: cleanup
use fetchzip on GitHub archive tarball
2018-12-19 00:49:02 +01:00

35 lines
878 B
Nix

{ stdenv, fetchzip, qt5 }:
let
version = "1.40.30";
in
stdenv.mkDerivation {
name = "qtbitcointrader-${version}";
src = fetchzip {
url = "https://github.com/JulyIGHOR/QtBitcoinTrader/archive/v${version}.tar.gz";
sha256 = "0xbgdmwb8d3lrddcnx2amfsknd3g408f5gy5mdydcm3vqqfi9a0c";
};
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 stdenv.lib; {
description = "Bitcoin trading client";
homepage = https://centrabit.com/;
license = licenses.gpl3;
platforms = qt5.qtbase.meta.platforms;
maintainers = [ maintainers.ehmry ];
};
}