Unverified Commit d58f0b6b authored by Vladimír Čunát's avatar Vladimír Čunát Committed by GitHub
Browse files

nano-wallet: 25.1 -> 28.2 (#452172)

parents 61b02f2f ae3862e0
Loading
Loading
Loading
Loading
+8 −9
Original line number Diff line number Diff line
@@ -15,24 +15,23 @@
stdenv.mkDerivation rec {

  pname = "nano-wallet";
  version = "25.1";
  version = "28.2";

  src = fetchFromGitHub {
    owner = "nanocurrency";
    repo = "nano-node";
    rev = "V${version}";
    tag = "V${version}";
    fetchSubmodules = true;
    hash = "sha256-YvYEXHC8kxviZLQwINs+pS61wITSfqfrrPmlR+zNRoE=";
    hash = "sha256-Wo1Gd6dOnCoPiGmuJQhZmKKSg7LrKpfdvLNNKBYTUWI=";
  };

  env.NIX_CFLAGS_COMPILE = "-Wno-error";

  patches = [
    # Fix gcc-13 build failure due to missing <cstdint> includes.
    # fix issue with <algorithm> include
    (fetchpatch {
      name = "gcc-13.patch";
      url = "https://github.com/facebook/rocksdb/commit/88edfbfb5e1cac228f7cc31fbec24bb637fe54b1.patch";
      stripLen = 1;
      extraPrefix = "submodules/rocksdb/";
      hash = "sha256-HhlIYyPzIZFuyzHTUPz3bXgXiaFSQ8pVrLLMzegjTgE=";
      url = "https://github.com/nanocurrency/nano-node/commit/1835a04dbbd1f6970649d7f72c454831432dd01f.patch";
      hash = "sha256-IpC4yaIbJzQWYIC0QGXYQ345g6JnD2+xZG30qAQ1ubo=";
    })
  ];