nixpkgs/pkgs/applications/blockchains/dogecoin/default.nix

42 lines
1.3 KiB
Nix
Raw Normal View History

2021-01-15 14:21:58 +01:00
{ lib, stdenv , fetchFromGitHub
, pkg-config, autoreconfHook
, db5, openssl, boost, zlib, miniupnpc, libevent
2020-11-24 16:29:28 +01:00
, protobuf, util-linux, qt4, qrencode
, withGui }:
2021-01-15 14:21:58 +01:00
with lib;
stdenv.mkDerivation rec {
name = "dogecoin" + (toString (optional (!withGui) "d")) + "-" + version;
2021-08-22 00:07:32 +02:00
version = "1.14.4";
2017-03-07 03:49:01 +01:00
src = fetchFromGitHub {
owner = "dogecoin";
repo = "dogecoin";
rev = "v${version}";
2021-08-22 00:07:32 +02:00
sha256 = "sha256-uITX5DSyC/m0ynwCkkbGgUj8kMuNgnsNo8H8RQSGPEA=";
};
nativeBuildInputs = [ pkg-config autoreconfHook ];
2020-11-24 16:29:28 +01:00
buildInputs = [ openssl db5 openssl util-linux
2019-08-05 14:37:40 +02:00
protobuf boost zlib miniupnpc libevent ]
++ optionals withGui [ qt4 qrencode ];
configureFlags = [ "--with-incompatible-bdb"
"--with-boost-libdir=${boost.out}/lib" ]
++ optionals withGui [ "--with-gui" ];
meta = {
description = "Wow, such coin, much shiba, very rich";
longDescription = ''
Dogecoin is a decentralized, peer-to-peer digital currency that
enables you to easily send money online. Think of it as "the
internet currency."
It is named after a famous Internet meme, the "Doge" - a Shiba Inu dog.
'';
homepage = "http://www.dogecoin.com/";
license = licenses.mit;
maintainers = with maintainers; [ edwtjo offline ];
2017-03-07 03:49:01 +01:00
platforms = platforms.linux;
};
}