From 06a2b9fa9522fb9b52f5dc569a44a3c99f6a6838 Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Tue, 27 Jul 2021 15:31:23 +0200 Subject: pkgs/applications/blockchains: move packages into subdirs --- pkgs/applications/blockchains/dogecoin/default.nix | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pkgs/applications/blockchains/dogecoin/default.nix (limited to 'pkgs/applications/blockchains/dogecoin/default.nix') diff --git a/pkgs/applications/blockchains/dogecoin/default.nix b/pkgs/applications/blockchains/dogecoin/default.nix new file mode 100644 index 00000000000..9985113b08a --- /dev/null +++ b/pkgs/applications/blockchains/dogecoin/default.nix @@ -0,0 +1,41 @@ +{ lib, stdenv , fetchFromGitHub +, pkg-config, autoreconfHook +, db5, openssl, boost, zlib, miniupnpc, libevent +, protobuf, util-linux, qt4, qrencode +, withGui }: + +with lib; +stdenv.mkDerivation rec { + name = "dogecoin" + (toString (optional (!withGui) "d")) + "-" + version; + version = "1.14.3"; + + src = fetchFromGitHub { + owner = "dogecoin"; + repo = "dogecoin"; + rev = "v${version}"; + sha256 = "sha256-kozUnIislQDtgjeesYHKu4sB1j9juqaWvyax+Lb/0pc="; + }; + + nativeBuildInputs = [ pkg-config autoreconfHook ]; + buildInputs = [ openssl db5 openssl util-linux + 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 ]; + platforms = platforms.linux; + }; +} -- cgit 1.4.1