Commit Graph

203 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
Gaël James
0e74d2b64c tree-wide: fetchgit, fetchFromGitHub, fetchFromGitLab, fetchFromGitea, fetchFromBitbucket, fetchFromSourcehut: use tag = instead of rev = refs/tags/... 2026-01-15 18:27:42 +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
aleksana
2ac15cf667 treewide: fix missing dollar symbol when referencing version 2025-11-30 21:09:20 +08: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
Fabian Affolter
8bd00446ae electrum-ltc: rename py-scrypt to scrypt 2025-08-07 13:15:55 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02: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
Julie B.
449731d58e electrum-ltc: fix build 2025-04-21 16:28:39 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
John Garcia
0fb8e1a688 various: remove chewblacka as package maintainer 2025-03-16 16:27:08 +05:30
Peder Bergebakken Sundt
0cd01cb63e electrum-ltc: add distutils to buildInputs (#377790) 2025-02-17 02:23:55 +01:00
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
Mia
635db320d0 change sha256 to hash 2025-01-29 19:21:59 -05:00
Mia
684ddcb6c2 Update ltc.nix 2025-01-29 13:33:07 -05:00
Julie B.
a689ece741 electrum-ltc: unbreak 2024-12-25 15:52:57 +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
Martin Weinelt
e47d0b5400 electrum-ltc: disable failing and stuck tests
These tests have forced the hydra job for electrum-ltc to run into a
timeout.
2024-08-06 18:18:42 +02: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
Raghav Sood
a7b2fb008e electrum-ltc: apply aiorpcX version bump patch 2024-05-13 10:26:17 +08: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
gruve-p
2c201af5f9 electrum-grs 4.4.4 -> 4.5.4 2024-03-19 20:54:10 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Wroclaw
6b9d170582 electrum: updater: use keys from source github repository 2024-03-17 18:12:07 +01:00