summary refs log tree commit diff
path: root/pkgs/applications/altcoins/dashpay.nix
blob: 68a0926c4668424eef10d1734b072e0ba1366326 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ fetchzip, stdenv, pkgconfig, autoreconfHook
, openssl, db48, boost, zlib, miniupnpc
, qt4, qrencode, glib, protobuf, yasm
, utillinux }:

with stdenv.lib;
stdenv.mkDerivation rec {

  name = "dashpay-${meta.version}";

  src = fetchzip {
    url = "https://github.com/dashpay/dash/archive/v${meta.version}.tar.gz";
    sha256 = "19bk7cviy3n2dpj4kr3i6i0i3ac2l5ri8ln1a51nd3n90k016wnx";
  };

  buildInputs = [ pkgconfig autoreconfHook glib openssl db48 yasm
                  boost zlib miniupnpc protobuf qt4 qrencode utillinux ];

  configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ];

  meta = with stdenv.lib; {
    version = "0.12.0.55";
    description = "A decentralized key/value registration and transfer system";
    longDescription = ''
      Dash (DASH) is an open sourced, privacy-centric digital currency
      with instant transactions.  It allows you to keep your finances
      private as you make transactions without waits, similar to cash.
    '';
    homepage = http://dashpay.io;
    maintainers = with maintainers; [ AndersonTorres ];
    platforms = with platforms; unix;
  };
}