about summary refs log tree commit diff
path: root/pkgs/applications/blockchains/wownero.nix
diff options
context:
space:
mode:
authorWilliam Casarin <jb55@jb55.com>2019-08-28 10:37:52 -0700
committerWilliam Casarin <jb55@jb55.com>2019-08-29 05:01:42 -0700
commit72682e46546d6d024a29e2fde009372e03b45b9f (patch)
tree4f5c749f3fdff3f182d9f7b005339aa10fd53897 /pkgs/applications/blockchains/wownero.nix
parent58fd72f3e996856d5a4ba21ae25f87a82fe3e5dc (diff)
downloadnixlib-72682e46546d6d024a29e2fde009372e03b45b9f.tar
nixlib-72682e46546d6d024a29e2fde009372e03b45b9f.tar.gz
nixlib-72682e46546d6d024a29e2fde009372e03b45b9f.tar.bz2
nixlib-72682e46546d6d024a29e2fde009372e03b45b9f.tar.lz
nixlib-72682e46546d6d024a29e2fde009372e03b45b9f.tar.xz
nixlib-72682e46546d6d024a29e2fde009372e03b45b9f.tar.zst
nixlib-72682e46546d6d024a29e2fde009372e03b45b9f.zip
tree: rename altcoins to blockchains
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat (limited to 'pkgs/applications/blockchains/wownero.nix')
-rw-r--r--pkgs/applications/blockchains/wownero.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/wownero.nix b/pkgs/applications/blockchains/wownero.nix
new file mode 100644
index 000000000000..7aed32978326
--- /dev/null
+++ b/pkgs/applications/blockchains/wownero.nix
@@ -0,0 +1,46 @@
+{ stdenv, fetchFromGitHub, cmake, pkgconfig, git
+, boost, miniupnpc_2, openssl, unbound, cppzmq
+, zeromq, pcsclite, readline, libsodium, rapidjson
+}:
+
+with stdenv.lib;
+
+stdenv.mkDerivation rec {
+  name = "wownero-${version}";
+
+  version = "0.6.1.2";
+  src = fetchFromGitHub {
+    owner = "wownero";
+    repo = "wownero";
+    rev    = "v${version}";
+    sha256 = "03q3pviyhrldpa3f4ly4d97jr39hvrz37chl102bap0790d9lk09";
+    fetchSubmodules = true;
+  };
+
+  nativeBuildInputs = [ cmake pkgconfig git ];
+
+  buildInputs = [
+    boost miniupnpc_2 openssl unbound rapidjson
+    cppzmq zeromq pcsclite readline libsodium
+  ];
+
+  cmakeFlags = [
+    "-DReadline_ROOT_DIR=${readline.dev}"
+    "-DMANUAL_SUBMODULES=ON"
+  ];
+
+  meta = {
+    description = "Wownero is a fork of the cryptocurrency Monero with primary alterations";
+    longDescription = ''
+      Wownero’s emission is capped and supply is finite. Wownero is a fairly
+      launched coin with no premine. It’s not a fork of another blockchain. With
+      its own genesis block there is no degradation of privacy caused by ring
+      signatures using different participants for the same transaction outputs.
+      Unlike opposing forks.
+    '';
+    homepage    = http://wownero.org/;
+    license     = licenses.bsd3;
+    platforms   = platforms.linux;
+    maintainers = with maintainers; [ fuwa ];
+  };
+}