mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
76eabcbe6b
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
36 lines
889 B
Nix
36 lines
889 B
Nix
{ stdenv, fetchurl, qt5 }:
|
|
|
|
let
|
|
version = "1.40.23";
|
|
in
|
|
stdenv.mkDerivation {
|
|
name = "qtbitcointrader-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/JulyIGHOR/QtBitcoinTrader/archive/v${version}.tar.gz";
|
|
sha256 = "11r2jzb09a62hf9fkg6aw8pg2js8c87k6lba9xz2q8n6d6jv44r1";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|