Commit Graph

157 Commits

Author SHA1 Message Date
Pavol Rusnak
4283d41277 electrum: 4.8.0 -> 4.8.1 (#552136) 2026-08-16 12:53:00 +00:00
Mark Polyakov
d0da9f0d59 electrum: move trezor into default dependencies
The Trezor dependency (which enables support for the Trezor hardware wallet) was gated behind the
enablePythonEcdsa override prior to this change because the trezor python package used to depend on
the ecdsa python package which is marked insecure. However, modern versions of the trezor package no
longer depend on ecdsa so it should be enabled by default, like the Ledger hardware wallet package.
2026-08-15 16:00:40 -07:00
Ryan Omasta
3ffc4733f9 electrum: 4.8.0 -> 4.8.1
https://github.com/spesmilo/electrum/blob/4.8.1/RELEASE-NOTES
Diff: https://github.com/spesmilo/electrum/compare/4.8.0...4.8.1
2026-08-13 00:05:54 -06:00
Ryan Omasta
8d9393aac3 electrum: 4.7.2 -> 4.8.0
https://github.com/spesmilo/electrum/blob/4.8.0/RELEASE-NOTES
Diff: https://github.com/spesmilo/electrum/compare/4.7.2...4.8.0
2026-07-05 16:35:47 -06:00
Ryan Omasta
f92edad4ad electrum: 4.7.1 -> 4.7.2
https://github.com/spesmilo/electrum/blob/4.7.2/RELEASE-NOTES
2026-04-02 13:29:10 -06:00
Ryan Omasta
f346457d9c electrum: 4.7.0 -> 4.7.1
https://github.com/spesmilo/electrum/blob/4.7.1/RELEASE-NOTES
2026-03-09 12:43:09 -06:00
Ryan Omasta
8f47493f7e electrum: add ryand56 as maintainer 2026-02-25 01:10:38 -07:00
Ryan Omasta
0f7bcb0456 electrum: 4.6.2 -> 4.7.0 2026-02-25 01:10:00 -07:00
Marcin Serwin
d49d190572 maintainers: drop joachifm
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-02-15 00:41:24 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Boris Nagaev
b80435486e electrum: init pyproject
Switch to the PEP 517 build pipeline so we rely on the native
build system rather than the deprecated setuptools path.
Use pythonRelaxDepsHook to ease upstream's strict version pins
and keep protobuf available at runtime.
2025-11-07 16:30:16 -03:00
Boris Nagaev
6f8787b23b electrum: 4.6.0 -> 4.6.2 2025-11-07 16:30:16 -03:00
Boris Nagaev
4782986944 electrum: fix building (generated protobuf files)
Starting from version 4.3.1, source-only Electrum tarball excludes
generated protobuf files.

Build generated protobuf file from electrum/paymentrequest.proto.
Tests and wrappers include protobuf dependencies to start successfully.
2025-11-07 16:30:16 -03:00
Boris Nagaev
40c614f31e electrum: disable python-ecdsa by default
Some Electrum plugins use python-ecdsa which is known to be vulnerable
(CVE-2024-23342). In this commit these plugins are disabled. It is possible
to re-enable it via option enablePythonEcdsa.

The list of affected plugins:

 - ckcc-protocol
 - keepkey
 - trezor
 - bitbox02
2025-11-07 16:30:16 -03:00
arcnmx
910a369fe7 electrum: fix check without qt 2025-09-03 19:48:32 -07:00
Pavol Rusnak
08eb279a4f electrum: 4.5.8 -> 4.6.0 2025-07-18 12:42:45 +02:00
Alyssa Ross
e0910df589 Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/by-name/me/meson/package.nix
2025-07-02 14:49:42 +02:00
Martin Weinelt
ae4a1a485a treewide: add explicit format attribute for Python packages
If a Python package does not come with either `format` or `pyproject` we
consider it a setuptools build, that calls `setup.py` directly, which is
deprecated.

This change, as a first step, migrates a large chunk of these packages to
set setuptools as their explicit format

This is so we can unify the problem space for the next step of the
migration.
2025-07-02 05:56:47 +02:00
Yueh-Shun Li
794f904bf3 treewide: pytestFlagsArray -> enabledTestPaths (trivial) 2025-06-12 22:05:29 +08:00
John Garcia
0fb8e1a688 various: remove chewblacka as package maintainer 2025-03-16 16:27:08 +05:30
Yarny0
e3d7bbab8b electrum: patch for aiorpcx 0.24 compatibility
electrum is quite strict about the aiorpcx version is accepts.
With commit 4bbf5300d4 ,

Upstream already has a patch to extend
the range of aiorpcx versions it permits:
171aa5ee5a
As the patch does not cleanly apply to the
distribution tarball we're using, we instead apply the
required changes "by hand", with `substituteInPlace`.
On top of the changes adapted from the upstream commit,
we have to change the file `./electrum/electrum`:
It is not part of the upstream source repository,
but it gets created from `./run_electrum` when
upstream creates the distribution tarball.

Note that the commit at hand is similar to
0e513f0435 .
2025-02-10 17:16:09 +01:00
Yarny0
b0c4f34b53 electrum: substitute with --replace-fail
The old `--replace` is deprecated,
we use `--replace-fail` so changes in source code that
might invalidate substitute invocations get noticed.

Cf. commit e07a2fab7f .
2025-02-10 17:16:08 +01:00
Yarny0
32e0927884 Revert "electrum: fixup Exec lines in .desktop"
This reverts commit a879c72552.

It is no longer needed,
as electrum removed the PATH manipulation:
f15abd7cbd

However, this commit also deviates from a plain revert,
as it adds an additional replacement command to still
substitute the `--testnet` command line, as it was done before.

Note:
Those `--replace` calls are removed here in order to stricten
substitute calls with `--replace-fail` in a follow-up commit.
2025-02-10 17:14:11 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Victor Freire
374b122f99 electrum: 4.5.6 -> 4.5.8 2024-10-24 13:53:10 -03:00
Yarny0
b3d9e85d53 electrum: migrate to build-system/dependencies
.. replacing `nativeBuildInputs` and `propagatedBuildInputs`.
2024-10-19 13:42:32 +02:00
Yarny0
09ff437fe9 Revert "electrum: pin ledger-bitcoin to 0.2.1"
This reverts commit 54bea4702b.

It is no longer needed as electrum 4.5.6 raised its
`ledger-bitcoin` version limit to "<0.4", cf.

https://github.com/spesmilo/electrum/issues/9035
719292f818
https://github.com/spesmilo/electrum/blob/4.5.6/RELEASE-NOTES#L24
2024-10-19 13:19:58 +02:00
Yarny0
d326fa896f electrum: 4.5.5 -> 4.5.6
Release notes:
https://github.com/spesmilo/electrum/blob/4.5.6/RELEASE-NOTES

Beginning with this update,
electrum includes its tests in its release tarballs, cf.

https://github.com/spesmilo/electrum/issues/9207
3ec16a08e5
https://github.com/spesmilo/electrum/blob/4.5.6/RELEASE-NOTES#L31

Therefore we drop the separate download of tests.
2024-10-19 13:18:17 +02:00
Yarny0
1ecc7fe442 electrum: fix build with protobuf dependency
Since the update to version 5 with
7cdaa0b80c ,
the `python3Packages.protobuf` package
no longer provides the `protoc` program.
Instead, one has to add the `protobuf` package
(not the python package) directly.
2024-10-19 11:27:05 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Pavol Rusnak
3470a1b29a electrum{,-grs,-ltc}: drop tlslite-ng dependency
not used since version 2.4.1
2024-07-14 09:14:56 +02:00
John Garcia
2711b8215e electrum: 4.5.4 -> 4.5.5 2024-05-30 12:21:19 +01:00
Yarny0
0e513f0435 electrum: add patch for aiorpcx compatibility
electrum is quite strict about the aiorpcx version is accepts.
With commit 97b53be707 ,
aiorpcx got updated to 0.23.1 which is too much for electrum.

Upstream already has a patch to extend the
range of aiorpcx versions it permits.
We apply that patch until a the next release of electrum.

Unfortunatelly, the patch -- which we take from the
GitHub source repository -- does not patch every file
that that is needed to be patched in the distribution tarball.
Hence we have to copy the patched file over another file
in the `postPatch` hook of the build process.
See the comments there for more information.
2024-05-06 16:37:39 +02:00
John Garcia
f6f5d4610d electrum: 4.5.3 -> 4.5.4 2024-03-16 22:09:15 +00:00
John Garcia
b87393f6c8 electrum: add missing deps for hw support 2024-03-16 22:09:15 +00:00
John Garcia
54bea4702b electrum: pin ledger-bitcoin to 0.2.1 2024-03-16 22:07:46 +00:00
John Garcia
236cd757af electrum: add chewblacka to package maintainers 2024-03-16 19:27:36 +00:00
Pavol Rusnak
dec3b9ac11 electrum: 4.5.0 -> 4.5.3 2024-02-23 16:39:18 -03:00
arcnmx
120a9383aa electrum: add meta.mainProgram
See #246386
2024-01-18 09:11:55 -08:00
arcnmx
73dd1bfd41 electrum: fix build without enableQt
Fixes a regression introduced by #281200
2024-01-18 09:09:05 -08:00
Pavol Rusnak
84f815170f electrum: 4.4.6 -> 4.5.0 2024-01-16 16:00:08 -05:00
Anders Rytter Hansen
495b938c3b electrum: add QtWayland and certifi
QtWayland is added so that Electrum will work natively on Wayland. If you try to launch it on Wayland without QtWayland, you will get an error saying that QT couldn't find a module for Wayland.

Certifi is added, because it's specified as a requirement for Electrum in their requirements.txt file here: https://github.com/spesmilo/electrum/blob/4.4.6/contrib/requirements/requirements.txt

Co-Authored-By: Jörg Thalheim <Mic92@users.noreply.github.com>
2024-01-16 16:17:48 +01:00
John Garcia
4621ca2b14 electrum: 4.4.5 -> 4.4.6 2023-08-21 13:42:38 +01:00
Jonathan Niven
dc6f306ab1 electrum: 4.4.4 -> 4.4.5
Some fixes, full changes in release notes:
https://github.com/spesmilo/electrum/blob/master/RELEASE-NOTES
2023-06-21 10:52:51 +01:00
Pavol Rusnak
af37dec087 electrum: 4.4.0 -> 4.4.4 2023-06-11 22:02:43 +02:00
Pavol Rusnak
5d391228f6 electrum: 4.3.4 -> 4.4.0 2023-04-24 23:18:47 +02:00
Dmitry Ivankov
51b96d8e85 electrum: fix ledger devices support
New Ledger protocol needs a new dependency to work
https://github.com/spesmilo/electrum/pull/8041
2023-04-24 19:32:21 +02:00
Martin Weinelt
10028d9a58 python310Packages.btchip-python: Rename from btchip 2023-03-03 23:59:32 +01:00
Sandro Jäckel
0d6fc19cdf electrum: use callPackage 2023-02-02 17:27:36 +01:00
Pavol Rusnak
0fa1ff5ce8 electrum: 4.3.3 -> 4.3.4 2023-01-28 20:44:08 +00:00