|
27 | 27 | }:
|
28 | 28 |
|
29 | 29 | let
|
30 |
| - # submodules |
| 30 | + # submodules; revs are taken from monero repo's `/external` at the given monero version tag. |
31 | 31 | supercop = fetchFromGitHub {
|
32 | 32 | owner = "monero-project";
|
33 | 33 | repo = "supercop";
|
|
37 | 37 | trezor-common = fetchFromGitHub {
|
38 | 38 | owner = "trezor";
|
39 | 39 | repo = "trezor-common";
|
40 |
| - rev = "bc28c316d05bf1e9ebfe3d7df1ab25831d98d168"; |
41 |
| - hash = "sha256-F1Hf1WwHqXMd/5OWrdkpomszACTozDuC7DQXW3p6248="; |
| 40 | + rev = "bff7fdfe436c727982cc553bdfb29a9021b423b0"; |
| 41 | + hash = "sha256-VNypeEz9AV0ts8X3vINwYMOgO8VpNmyUPC4iY3OOuZI="; |
42 | 42 | };
|
43 | 43 |
|
44 | 44 | in
|
45 |
| - |
46 | 45 | stdenv.mkDerivation rec {
|
47 | 46 | pname = "monero-cli";
|
48 | 47 | version = "0.18.3.4";
|
@@ -111,14 +110,28 @@ stdenv.mkDerivation rec {
|
111 | 110 | "-DCMAKE_CXX_FLAGS=-fpermissive"
|
112 | 111 | ];
|
113 | 112 |
|
114 |
| - outputs = [ "out" "source" ]; |
| 113 | + outputs = [ |
| 114 | + "out" |
| 115 | + "source" |
| 116 | + ]; |
115 | 117 |
|
116 | 118 | meta = {
|
117 | 119 | description = "Private, secure, untraceable currency";
|
118 | 120 | homepage = "https://getmonero.org/";
|
119 | 121 | license = lib.licenses.bsd3;
|
120 |
| - platforms = lib.platforms.all; |
121 |
| - maintainers = with lib.maintainers; [ rnhmjoj ]; |
| 122 | + |
| 123 | + platforms = with lib.platforms; linux; |
| 124 | + |
| 125 | + # macOS/ARM has a working `monerod` (at least), but `monero-wallet-cli` |
| 126 | + # segfaults on start after entering the wallet password, when built in release mode. |
| 127 | + # Building the same revision in debug mode to root-cause the above problem doesn't work |
| 128 | + # because of https://github.com/monero-project/monero/issues/9486 |
| 129 | + badPlatforms = [ "aarch64-darwin" ]; |
| 130 | + |
| 131 | + maintainers = with lib.maintainers; [ |
| 132 | + pmw |
| 133 | + rnhmjoj |
| 134 | + ]; |
122 | 135 | mainProgram = "monero-wallet-cli";
|
123 | 136 | };
|
124 | 137 | }
|
0 commit comments