nym: 2024.12-aero -> 2024.13-magura-patched

This commit is contained in:
wxt
2024-12-09 20:32:42 +08:00
parent 1625f3e2ee
commit e6a34bc793
2 changed files with 10 additions and 10923 deletions
-10899
View File
File diff suppressed because it is too large Load Diff
+10 -24
View File
@@ -13,13 +13,13 @@
rustPlatform.buildRustPackage rec {
pname = "nym";
version = "2024.12-aero";
version = "2024.13-magura-patched";
src = fetchFromGitHub {
owner = "nymtech";
repo = "nym";
rev = "nym-binaries-v${version}";
hash = "sha256-bUY0ctfE1i0pjqdT/LT43FB9rDO5OKBVaTckm5qxnms=";
tag = "nym-binaries-v${version}";
hash = "sha256-N9nnDtTIvKJX1wpiAEJ2X7Dv5Qc5V6CiTR/TjJAnv3s=";
};
swagger-ui = fetchurl {
@@ -27,36 +27,21 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-SBJE0IEgl7Efuu73n3HZQrFxYX+cn5UU5jrL4T5xzNw=";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"bls12_381-0.8.0" = "sha256-4+X/ZQ5Z+Nax4Ot1JWWvvLxuIUaucHkfnDB2L+Ak7Ro=";
"cosmos-sdk-proto-0.22.0-pre" = "sha256-nRfcAbjFcvAqool+6heYK8joiU5YaSWITnO6S5MRM1E=";
"defguard_wireguard_rs-0.4.7" = "sha256-+5m1+XGJ6Fi8v6rgjt0jRmwIruIL+OPP7zq/+166WMw=";
"indexed_db_futures-0.4.2" = "sha256-vVqrD40CBdSSEtU+kQeuZUfsgpJdl8ks+os0Fct8Ung=";
};
};
cargoHash = "sha256-tkP65GG1E5356lePLVrZdPqx/b9k1lgJ1LoxCgQf08k=";
useFetchCargoVendor = true;
env = {
SWAGGER_UI_DOWNLOAD_URL = "file://${swagger-ui}";
OPENSSL_NO_VENDOR = true;
};
nativeBuildInputs = [
pkg-config
];
buildInputs =
[
openssl
]
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
[
Security
SystemConfiguration
CoreServices
]
);
buildInputs = [
openssl
];
checkType = "debug";
@@ -82,6 +67,7 @@ rustPlatform.buildRustPackage rec {
Nym routes IP packets through other participating nodes to hide their source and destination.
In contrast with Tor, it prevents timing attacks at the cost of latency.
'';
changelog = "https://github.com/nymtech/nym/releases/tag/nym-binaries-v${version}";
homepage = "https://nymtech.net";
license = lib.licenses.asl20;
platforms = lib.platforms.all;