nixpkgs/pkgs/applications/misc/qtbitcointrader/default.nix
R. RyanTM 63e0da91c7 qtbitcointrader: 1.10.01 -> 1.40.13
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/qtbitcointrader/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- directory tree listing: https://gist.github.com/95cf4d47d097431369b8e95e4720f1f4
2018-03-30 17:48:25 -07:00

36 lines
889 B
Nix

{ stdenv, fetchurl, qt5 }:
let
version = "1.40.13";
in
stdenv.mkDerivation {
name = "qtbitcointrader-${version}";
src = fetchurl {
url = "https://github.com/JulyIGHOR/QtBitcoinTrader/archive/v${version}.tar.gz";
sha256 = "0d6b9ls742nghzg5y97dx7myvv8i88f0s27lhr52yy4833hdxdwn";
};
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.lgpl3;
platforms = qt5.qtbase.meta.platforms;
maintainers = [ maintainers.ehmry ];
};
}