Skip to content

Commit bb92628

Browse files
authored
wownero: 0.11.0.1 -> 0.11.3.0 (NixOS#371670)
2 parents 1bda1e5 + 2e6b296 commit bb92628

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

pkgs/by-name/wo/wownero/package.nix

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
lib,
33
stdenv,
44
fetchFromGitHub,
5-
fetchpatch,
5+
fetchFromGitea,
66
cmake,
7+
python3,
78
boost,
89
libsodium,
910
openssl,
@@ -28,36 +29,35 @@ let
2829
rev = "633500ad8c8759995049ccd022107d1fa8a1bbc9";
2930
hash = "sha256-26UmESotSWnQ21VbAYEappLpkEMyl0jiuCaezRYd/sE=";
3031
};
31-
randomwow = fetchFromGitHub {
32-
owner = "wownero-project";
32+
randomwow = fetchFromGitea {
33+
domain = "codeberg.org";
34+
owner = "wownero";
3335
repo = "RandomWOW";
34-
rev = "607bad48f3687c2490d90f8c55efa2dcd7cbc195";
35-
hash = "sha256-CJv96TbPv1k/C7MQWEntE6khIRX1iIEiF9wEdsQGiFQ=";
36+
rev = "27b099b6dd6fef6e17f58c6dfe00009e9c5df587";
37+
hash = "sha256-imiXr4irXeKiQ6VMd6f3MJ46zvdvymnRdHGgnEvkT+o=";
3638
};
3739
in
3840
stdenv.mkDerivation rec {
3941
pname = "wownero";
40-
version = "0.11.0.1";
42+
version = "0.11.3.0";
4143

42-
src = fetchFromGitHub {
43-
owner = "wownero-project";
44+
src = fetchFromGitea {
45+
domain = "codeberg.org";
46+
owner = "wownero";
4447
repo = "wownero";
45-
rev = "v${version}";
46-
fetchSubmodules = false;
47-
hash = "sha256-zmGsSbPpVwL0AhCQkdMKORruM5kYrrLe/BYfMphph8c=";
48+
tag = "v${version}";
49+
hash = "sha256-EioXFfUQ+CV6+Ipef1wbmc+taKI98I420J7eqzz15Ss=";
4850
};
4951

50-
patches = [
51-
# Fix gcc-13 build due to missing <cstdint> neaders
52-
(fetchpatch {
53-
name = "gcc-13.patch";
54-
url = "https://git.wownero.com/wownero/wownero/commit/f983ac77805a494ea4a05a00398c553e1359aefd.patch";
55-
hash = "sha256-9acQ4bHAKFR+lMgrpQyBmb+9YZYi1ywHoo1jBcIgmGs=";
56-
})
52+
env.NIX_CFLAGS_COMPILE = toString [
53+
"-Wno-error=cast-user-defined"
54+
"-Wno-error=implicit-function-declaration"
55+
"-Wno-error=int-conversion"
5756
];
5857

5958
nativeBuildInputs = [
6059
cmake
60+
python3
6161
];
6262

6363
buildInputs =

0 commit comments

Comments
 (0)