Skip to content

bisq2: init at 2.1.2#356043

Merged
emilazy merged 1 commit intoNixOS:masterfrom
emmanuelrosa:bisq
Nov 17, 2024
Merged

bisq2: init at 2.1.2#356043
emilazy merged 1 commit intoNixOS:masterfrom
emmanuelrosa:bisq

Conversation

@emmanuelrosa
Copy link
Contributor

This PR adds Bisq 2, a decentralized bitcoin exchange that allows anyone to buy and sell bitcoin in exchange for national currencies or other cryptocurrencies.

This is a continuation of #347160, which was rolled back on #352550

The package now uses JDK 23.

Verification

It is customary to verify the downloaded Bisq application by importing upstream's GPG key and verifying the signature of the downloaded package.

This Nix package includes build-time verification of the downloaded Debian package. This is to give users of this package a greater level of confirmation --compared to verification by the maintainer, (me)-- that the package has been signed by upstream. In short, if this package builds, then it's also verified.

QR code scanning

There's a bundled "webcam app" which is used for webcam access to scan QR codes. This app does not work on NixOS due to bundled libraries which need to be patchelf'ed. I already made two attempts to add support for this "webcam app" and failed. I will not be making another attempt.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@emmanuelrosa emmanuelrosa mentioned this pull request Nov 15, 2024
13 tasks
Copy link
Member

@emilazy emilazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about the miscommunication on the earlier PR, and thanks for sending this. Since it’s identical to the previous package with a different JDK version, I’m happy to trust your testing.

However, there is a mismatch between the pkgs/by-name path and the attribute. This will result in a bisq attribute that uses the default openjdk, which is presumably not what you want. I recommend either renaming the directory to bisq2, or removing the line from all-packages.nix entirely and using (jdk23.override …) directly in the package definition. I apologize that the reviewer didn’t catch this on the previous PR.

@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Nov 15, 2024
@ofborg ofborg bot added the 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. label Nov 16, 2024
@emilazy emilazy merged commit 5d76b5e into NixOS:master Nov 17, 2024
@emilazy
Copy link
Member

emilazy commented Nov 17, 2024

BTW, 24.11 is already branched off; I can backport this if you want it to make the upcoming stable release.

@emmanuelrosa emmanuelrosa deleted the bisq branch November 17, 2024 14:38
@emmanuelrosa
Copy link
Contributor Author

Yes, I'd like to make it to the 24.11 release.

Thank you.

@github-actions
Copy link
Contributor

Successfully created backport PR for release-24.11:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants