diff --git a/pkgs/applications/misc/qtbitcointrader/default.nix b/pkgs/applications/misc/qtbitcointrader/default.nix new file mode 100644 index 000000000000..38606d798731 --- /dev/null +++ b/pkgs/applications/misc/qtbitcointrader/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchurl, qt4 }: + +let + version = "1.07.98"; +in +stdenv.mkDerivation { + name = "qtbitcointrader-${version}"; + + src = fetchurl { + url = "mirror://sourceforge/bitcointrader/SRC/QtBitcoinTrader-${version}.tar.gz"; + sha256 = "1irz17q71fx64dfkmgajlyva7d1wifv4bxgb2iwz7d69rvhzaqzx"; + }; + + buildInputs = [ qt4 ]; + + postUnpack = "sourceRoot=\${sourceRoot}/src"; + + configurePhase = '' + qmake \ + PREFIX=$out \ + DESKTOPDIR=$out/share/applications \ + ICONDIR=$out/share/pixmaps \ + 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 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 69c1a6734bdc..0a6ff055ff02 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9638,6 +9638,8 @@ let qgis = callPackage ../applications/misc/qgis {}; + qtbitcointrader = callPackage ../applications/misc/qtbitcointrader { }; + ykpers = callPackage ../applications/misc/ykpers {}; yoshimi = callPackage ../applications/audio/yoshimi {