diff --git a/pkgs/applications/misc/qtbitcointrader/default.nix b/pkgs/applications/misc/qtbitcointrader/default.nix index 38606d798731..8f7fc3b0e261 100644 --- a/pkgs/applications/misc/qtbitcointrader/default.nix +++ b/pkgs/applications/misc/qtbitcointrader/default.nix @@ -1,17 +1,19 @@ -{ stdenv, fetchurl, qt4 }: +{ stdenv, fetchFromGitHub, qt }: let - version = "1.07.98"; + version = "1.08.02"; in stdenv.mkDerivation { name = "qtbitcointrader-${version}"; - src = fetchurl { - url = "mirror://sourceforge/bitcointrader/SRC/QtBitcoinTrader-${version}.tar.gz"; - sha256 = "1irz17q71fx64dfkmgajlyva7d1wifv4bxgb2iwz7d69rvhzaqzx"; + src = fetchFromGitHub { + owner = "JulyIGHOR"; + repo = "QtBitcoinTrader"; + rev = "452db3ee9447b8f9e7d63253f834b31394b23d92"; + sha256 = "1l2a021dy2j4sr4nmq7wn27r2zli9nigwbviqzain3nlyzq9fjpg"; }; - buildInputs = [ qt4 ]; + buildInputs = [ qt ]; postUnpack = "sourceRoot=\${sourceRoot}/src"; @@ -23,11 +25,11 @@ stdenv.mkDerivation { QtBitcoinTrader_Desktop.pro ''; - meta = { - description = "Secure bitcoin trading client"; - homepage = http://qtopentrader.com; - license = stdenv.lib.licenses.lgpl21Plus; - platforms = stdenv.lib.platforms.linux; # arbitrary choice - maintainers = [ stdenv.lib.maintainers.emery ]; - }; -} \ No newline at end of file + meta = with stdenv.lib; + { description = "Secure bitcoin trading client"; + homepage = https://centrabit.com/; + license = licenses.lgpl3; + platforms = platforms.linux; # arbitrary choice + maintainers = [ maintainers.emery ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e535520acb57..724a4f315477 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11222,7 +11222,9 @@ let qgis = callPackage ../applications/gis/qgis {}; - qtbitcointrader = callPackage ../applications/misc/qtbitcointrader { }; + qtbitcointrader = callPackage ../applications/misc/qtbitcointrader { + qt = qt4; + }; ykpers = callPackage ../applications/misc/ykpers {};