-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
depolymerization: init at 0-unstable-2024-03-18
- Loading branch information
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
pkgs/by-name/depolymerization/0001-Fix-status-test-docs.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Subject: [PATCH] Fix status test docs | ||
|
||
--- | ||
common/src/status.rs | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/common/src/status.rs b/common/src/status.rs | ||
index bc7d2f3..f98cd4a 100644 | ||
--- a/common/src/status.rs | ||
+++ b/common/src/status.rs | ||
@@ -17,7 +17,7 @@ | ||
|
||
/// Debit transaction status | ||
/// | ||
-/// -> Requested API request | ||
+/// () -> Requested API request | ||
/// Requested -> Sent Announced to the bitcoin network | ||
/// Sent -> Requested Conflicting transaction (reorg) | ||
#[repr(u8)] | ||
@@ -43,7 +43,7 @@ impl TryFrom<u8> for DebitStatus { | ||
|
||
/// Bounce transaction status | ||
/// | ||
-/// -> Requested Credit in wrong format | ||
+/// () -> Requested Credit in wrong format | ||
/// Requested -> Ignored Insufficient found | ||
/// Requested -> Sent Announced to the bitcoin network | ||
/// Sent -> Requested Conflicting transaction (reorg) | ||
-- | ||
2.44.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
lib, | ||
rustPlatform, | ||
fetchgit, | ||
stdenv, | ||
darwin, | ||
}: | ||
rustPlatform.buildRustPackage { | ||
pname = "depolymerization"; | ||
version = "0-unstable-2024-03-18"; | ||
|
||
src = fetchgit { | ||
url = "https://git.taler.net/depolymerization.git/"; | ||
rev = "80ded0febe5acbfa64cef3d84846b4a1300ea97f"; | ||
hash = "sha256-wb1IxaiM+uGEa9l8Iz0fDluIWZgVMnT8BUZ/R5M3dcU="; | ||
}; | ||
|
||
cargoHash = "sha256-ePDr47U50yXMC2C9KXTqWmmtDzONXm0yTPuxTNEidXI="; | ||
|
||
patches = [./0001-Fix-status-test-docs.patch]; | ||
|
||
buildInputs = lib.optionals stdenv.isDarwin [ | ||
darwin.apple_sdk.frameworks.CoreFoundation | ||
darwin.apple_sdk.frameworks.Security | ||
darwin.apple_sdk.frameworks.SystemConfiguration | ||
]; | ||
|
||
meta = with lib; { | ||
description = "Wire gateway for Bitcoin/Ethereum"; | ||
homepage = "https://git.taler.net/depolymerization.git/"; | ||
license = licenses.agpl3Only; | ||
maintainers = with maintainers; []; | ||
}; | ||
} |