Commit Graph

28 Commits

Author SHA1 Message Date
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
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
Raghav Sood
a7b2fb008e
electrum-ltc: apply aiorpcX version bump patch 2024-05-13 10:26:17 +08: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
Julie B.
0194efaf82
maintainers: rename lourkeur -> bbjubjub, update details 2024-02-14 20:58:18 +01: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
Felix Buehler
560694bec2 python311Packages.py-scrypt: rename from py_scrypt 2024-01-07 16:29:05 +01:00
Martin Weinelt
10028d9a58 python310Packages.btchip-python: Rename from btchip 2023-03-03 23:59:32 +01:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Pavol Rusnak
4d7160e615
electrum-ltc: remove passthru.updateScript
(which is meant to be used by electrum, not electrum-ltc)
2022-12-26 15:21:11 +01:00
Louis Bettens
3cc2fa21dc electrum-ltc: 4.0.9.3 -> 4.2.2.1 2022-07-19 10:13:46 +02:00
Artturin
b3caa2f1fe treewide: extraPostFetch -> postFetch 2022-05-23 17:18:50 +03:00
Louis Bettens
354fdf80d1 electrum-ltc: unbreak 2022-01-25 17:05:20 -08:00
Louis Bettens
719beec27a electrum-ltc: 3.3.8.1 -> 4.0.9.3
rewritten based on the electrum derivation
2021-12-03 23:01:13 +01:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Raghav Sood
438a67de33
electrum-ltc: enable hardware wallets 2020-10-29 15:38:47 +08:00
Doron Behar
bc0113e2c2 electrum-ltc: Use default qt5.15.
The same as used by pyqt5 (#99956).

Also: Fix double wrapping.
2020-10-08 18:57:23 +02:00
Louis Bettens
91764a047c electrum-ltc: fix #94238 2020-07-30 17:40:47 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Lorenzo Manacorda
11d71d18f6 electrum-ltc: remove asymmetric from maintainers
Not using the application anymore.
2019-09-16 17:43:19 +02:00
ivegotasthma
4c38d83e63
electrum.ltc: 3.1.3.1 -> 3.3.8.1 2019-09-11 19:27:11 +02:00
Frederik Rietdijk
d2c3fd5af0 Python: fix outfall after setting strictDeps = true; 2019-02-17 14:40:54 +01:00
R. RyanTM
1991f5b223 electrum-ltc: 3.1.2.1 -> 3.1.3.1 (#39440)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/electrum-ltc/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/j1k6vy1aswd5nm2h1y5b5807jwv5lvz8-electrum-ltc-3.1.3.1/bin/.electrum-ltc-wrapped -h’ got 0 exit code
- ran ‘/nix/store/j1k6vy1aswd5nm2h1y5b5807jwv5lvz8-electrum-ltc-3.1.3.1/bin/.electrum-ltc-wrapped --help’ got 0 exit code
- ran ‘/nix/store/j1k6vy1aswd5nm2h1y5b5807jwv5lvz8-electrum-ltc-3.1.3.1/bin/.electrum-ltc-wrapped help’ got 0 exit code
- ran ‘/nix/store/j1k6vy1aswd5nm2h1y5b5807jwv5lvz8-electrum-ltc-3.1.3.1/bin/electrum-ltc -h’ got 0 exit code
- ran ‘/nix/store/j1k6vy1aswd5nm2h1y5b5807jwv5lvz8-electrum-ltc-3.1.3.1/bin/electrum-ltc --help’ got 0 exit code
- ran ‘/nix/store/j1k6vy1aswd5nm2h1y5b5807jwv5lvz8-electrum-ltc-3.1.3.1/bin/electrum-ltc help’ got 0 exit code
- found 3.1.3.1 with grep in /nix/store/j1k6vy1aswd5nm2h1y5b5807jwv5lvz8-electrum-ltc-3.1.3.1
- directory tree listing: https://gist.github.com/b26f1ac3c0cbfa08852ab2610031bb4c
2018-05-03 18:27:21 +02:00
Matthew Bauer
52893d5276 treewide: move "extensions" drvs to dir
This cleans up the tree for pkgs/applications somewhat. Should not
change any hashes.
2018-04-17 13:50:49 -05:00