about summary refs log tree commit diff
path: root/pkgs/applications/altcoins
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2019-07-21 09:56:44 +0100
committerGitHub <noreply@github.com>2019-07-21 09:56:44 +0100
commit0af97664d15346fc94de6160ec4d0af06a3ffa35 (patch)
treee1167bdde0d194709090f3739cc9700ce42e19fa /pkgs/applications/altcoins
parentf86ee807b51199f51905d4ddd53437bf448f15d5 (diff)
parenta7b6d9153cdf70aa3e6c2eb725024b17fe40a5ed (diff)
Merge pull request #62790 from fuwa0529/update-altcoins.wownero-master
altcoins.wownero: 0.5.0.2 -> 0.6.1.2
Diffstat (limited to 'pkgs/applications/altcoins')
-rw-r--r--pkgs/applications/altcoins/default.nix4
-rw-r--r--pkgs/applications/altcoins/wownero.nix16
2 files changed, 7 insertions, 13 deletions
diff --git a/pkgs/applications/altcoins/default.nix b/pkgs/applications/altcoins/default.nix
index 492a221c3f898..23eb9033ed1ca 100644
--- a/pkgs/applications/altcoins/default.nix
+++ b/pkgs/applications/altcoins/default.nix
@@ -84,9 +84,7 @@ rec {
 
   sumokoin = callPackage ./sumokoin.nix { boost = boost165; };
 
-  wownero = callPackage ./wownero.nix {
-    inherit (darwin.apple_sdk.frameworks) CoreData IOKit PCSC;
-  };
+  wownero = callPackage ./wownero.nix {};
 
   zcash = callPackage ./zcash {
     withGui = false;
diff --git a/pkgs/applications/altcoins/wownero.nix b/pkgs/applications/altcoins/wownero.nix
index 6de12b0993409..7aed32978326b 100644
--- a/pkgs/applications/altcoins/wownero.nix
+++ b/pkgs/applications/altcoins/wownero.nix
@@ -1,22 +1,20 @@
 { stdenv, fetchFromGitHub, cmake, pkgconfig, git
 , boost, miniupnpc_2, openssl, unbound, cppzmq
 , zeromq, pcsclite, readline, libsodium, rapidjson
-, CoreData, IOKit, PCSC
 }:
 
-assert stdenv.isDarwin -> IOKit != null;
-
 with stdenv.lib;
 
 stdenv.mkDerivation rec {
   name = "wownero-${version}";
 
-  version = "0.5.0.2";
+  version = "0.6.1.2";
   src = fetchFromGitHub {
     owner = "wownero";
     repo = "wownero";
     rev    = "v${version}";
-    sha256 = "120cfkl2q8qgl3ajxfkkri9bxlnvmr1mhb1wvcigch1lqyflff1w";
+    sha256 = "03q3pviyhrldpa3f4ly4d97jr39hvrz37chl102bap0790d9lk09";
+    fetchSubmodules = true;
   };
 
   nativeBuildInputs = [ cmake pkgconfig git ];
@@ -24,14 +22,12 @@ stdenv.mkDerivation rec {
   buildInputs = [
     boost miniupnpc_2 openssl unbound rapidjson
     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";
@@ -44,7 +40,7 @@ stdenv.mkDerivation rec {
     '';
     homepage    = http://wownero.org/;
     license     = licenses.bsd3;
-    platforms   = platforms.all;
+    platforms   = platforms.linux;
     maintainers = with maintainers; [ fuwa ];
   };
 }