diff options
author | Nicolas Pouillard <nicolas.pouillard@gmail.com> | 2016-01-21 23:59:30 +0100 |
---|---|---|
committer | Nicolas Pouillard <nicolas.pouillard@gmail.com> | 2016-01-30 14:04:04 +0100 |
commit | 2238ca0a5b63406689251fcfd56933177f1e43ae (patch) | |
tree | ca28b61a28630113bc97c9e1025c34ea81ee4ba3 /pkgs/applications/misc/electrum-dash | |
parent | 65836c898fb9282c724ac297e7e61eb8deebc1ff (diff) | |
download | nixpkgs-2238ca0a5b63406689251fcfd56933177f1e43ae.tar nixpkgs-2238ca0a5b63406689251fcfd56933177f1e43ae.tar.gz nixpkgs-2238ca0a5b63406689251fcfd56933177f1e43ae.tar.bz2 nixpkgs-2238ca0a5b63406689251fcfd56933177f1e43ae.tar.lz nixpkgs-2238ca0a5b63406689251fcfd56933177f1e43ae.tar.xz nixpkgs-2238ca0a5b63406689251fcfd56933177f1e43ae.tar.zst nixpkgs-2238ca0a5b63406689251fcfd56933177f1e43ae.zip |
electrum-dash: init at 2.4.1
Diffstat (limited to 'pkgs/applications/misc/electrum-dash')
-rw-r--r-- | pkgs/applications/misc/electrum-dash/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/applications/misc/electrum-dash/default.nix b/pkgs/applications/misc/electrum-dash/default.nix new file mode 100644 index 00000000000..f046ecc9bf2 --- /dev/null +++ b/pkgs/applications/misc/electrum-dash/default.nix @@ -0,0 +1,44 @@ +{ stdenv, fetchurl, buildPythonPackage, pythonPackages, slowaes }: + +buildPythonPackage rec { + name = "electrum-dash-${version}"; + version = "2.4.1"; + + src = fetchurl { + url = "https://github.com/dashpay/electrum-dash/releases/download/v${version}/Electrum-DASH-${version}.tar.gz"; + sha256 = "02k7m7fyn0cvlgmwxr2gag7rf2knllkch1ma58shysp7zx9jb000"; + }; + + propagatedBuildInputs = with pythonPackages; [ + dns + ecdsa + pbkdf2 + protobuf + pyasn1 + pyasn1-modules + pycrypto + pyqt4 + qrcode + requests + slowaes + tlslite + x11_hash + mnemonic + + # plugins + trezor + ]; + + preInstall = '' + mkdir -p $out/share + sed -i 's@usr_share = .*@usr_share = os.getenv("out")+"/share"@' setup.py + pyrcc4 icons.qrc -o gui/qt/icons_rc.py + ''; + + meta = with stdenv.lib; { + description = "Electrum DASH"; + homepage = https://github.com/dashpay/electrum-dash; + license = licenses.gpl3; + maintainers = with maintainers; [ np ]; + }; +} |