diff options
author | fuwa <echowss@gmail.com> | 2018-11-11 14:40:25 +0800 |
---|---|---|
committer | fuwa <echowss@gmail.com> | 2018-11-11 14:56:38 +0800 |
commit | 931ebbc77a45fe36c55deba51de7c259666bf678 (patch) | |
tree | 3c5dd19099d3353c8214c08b7ce9c343e552117a | |
parent | 6c7ff0cca82d3759550669a1fb7a0e1d0479a38d (diff) | |
download | nixpkgs-931ebbc77a45fe36c55deba51de7c259666bf678.tar nixpkgs-931ebbc77a45fe36c55deba51de7c259666bf678.tar.gz nixpkgs-931ebbc77a45fe36c55deba51de7c259666bf678.tar.bz2 nixpkgs-931ebbc77a45fe36c55deba51de7c259666bf678.tar.lz nixpkgs-931ebbc77a45fe36c55deba51de7c259666bf678.tar.xz nixpkgs-931ebbc77a45fe36c55deba51de7c259666bf678.tar.zst nixpkgs-931ebbc77a45fe36c55deba51de7c259666bf678.zip |
wownero: init at 0.4.0.0
-rw-r--r-- | pkgs/applications/altcoins/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/altcoins/wownero.nix | 51 |
2 files changed, 55 insertions, 0 deletions
diff --git a/pkgs/applications/altcoins/default.nix b/pkgs/applications/altcoins/default.nix index 87f5d0be68a..bc55f85b10d 100644 --- a/pkgs/applications/altcoins/default.nix +++ b/pkgs/applications/altcoins/default.nix @@ -81,6 +81,10 @@ rec { sumokoin = callPackage ./sumokoin.nix { }; + wownero = callPackage ./wownero.nix { + inherit (darwin.apple_sdk.frameworks) CoreData IOKit PCSC; + }; + zcash = callPackage ./zcash { withGui = false; openssl = openssl_1_1; diff --git a/pkgs/applications/altcoins/wownero.nix b/pkgs/applications/altcoins/wownero.nix new file mode 100644 index 00000000000..4b62ba759f3 --- /dev/null +++ b/pkgs/applications/altcoins/wownero.nix @@ -0,0 +1,51 @@ +{ stdenv, fetchFromGitHub, cmake, pkgconfig, git +, boost, miniupnpc, openssl, unbound, cppzmq +, zeromq, pcsclite, readline, libsodium +, CoreData, IOKit, PCSC +}: + +assert stdenv.isDarwin -> IOKit != null; + +with stdenv.lib; + +stdenv.mkDerivation rec { + name = "wownero-${version}"; + + version = "0.4.0.0"; + src = fetchFromGitHub { + owner = "wownero"; + repo = "wownero"; + fetchSubmodules = true; + rev = "v${version}"; + sha256 = "1z5fpl4gwys4v8ffrymlzwrbnrbg73x553a9lxwny7ba8yg2k14p"; + }; + + nativeBuildInputs = [ cmake pkgconfig git ]; + + buildInputs = [ + boost miniupnpc openssl unbound + cppzmq zeromq pcsclite readline libsodium + ] ++ optionals stdenv.isDarwin [ IOKit CoreData PCSC ]; + + cmakeFlags = [ + "-DReadline_ROOT_DIR=${readline.dev}" + "-DMANUAL_SUBMODULES=ON" + ] ++ optional stdenv.isDarwin "-DBoost_USE_MULTITHREADED=OFF"; + + hardeningDisable = [ "fortify" ]; + + 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.all; + maintainers = with maintainers; [ fuwa ]; + }; +} |