atomic-swap: refactor

this shouldn't create any rebuilds
This commit is contained in:
quantenzitrone
2026-02-07 09:48:27 +01:00
parent cd7c5661f9
commit 24d480f58f
+4 -7
View File
@@ -7,17 +7,14 @@
monero-cli,
}:
let
buildGoModule (finalAttrs: {
pname = "atomic-swap";
version = "0.4.3";
in
buildGoModule {
inherit pname version;
src = fetchFromGitHub {
owner = "AthanorLabs";
repo = "atomic-swap";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-MOylUZ6BrvlxUrsZ5gg3JzW9ROG5UXeGhq3YoPZKdHs=";
};
@@ -42,7 +39,7 @@ buildGoModule {
meta = {
homepage = "https://github.com/AthanorLabs/atomic-swap";
changelog = "https://github.com/AthanorLabs/atomic-swap/releases/tag/v${version}";
changelog = "https://github.com/AthanorLabs/atomic-swap/releases/tag/v${finalAttrs.version}";
description = "ETH-XMR atomic swap implementation";
license = with lib.licenses; [ lgpl3Only ];
maintainers = with lib.maintainers; [
@@ -50,4 +47,4 @@ buildGoModule {
lord-valen
];
};
}
})