Erik Arvstedt
9b607daa78
python-packages/specific-versions: remove coincurve_20
...
`coincurve_20` in now included in nixpkgs 25.05.
Also remove its dependency `scikit-build-core_0_10`.
2025-06-10 13:45:57 +02:00
Erik Arvstedt
9da4d1e8c0
python-packages: update to NixOS 25.05
...
- Cryptography contains no relevant backwards-incompatible changes
https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#4400---2024-11-27
- Other updates are minor maintenance releases
2025-06-10 13:45:57 +02:00
Erik Arvstedt
04b6a09be4
clightning-plugins: use clnrest, remove Python version
2025-05-09 13:32:19 +02:00
Erik Arvstedt
d6bae0a9eb
python3Packages.clnrest: update to NixOS 24.11
...
Gunicorn 22 and 23 mostly include security fixes:
https://github.com/benoitc/gunicorn/releases
2024-12-14 10:52:26 +01:00
Erik Arvstedt
b78116b0da
python3Packages.clnrest: use --replace-fail
2024-12-14 10:52:26 +01:00
Erik Arvstedt
dc8f969eea
python3Packages.pyln-proto: update to NixOS 24.11
...
Cryptography contains no relevant backwards-incompatible changes:
https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#4300---2024-07-20
2024-12-14 10:52:26 +01:00
Erik Arvstedt
8af7fc4b80
python3Packages.joinmarket: update to NixOS 24.11
...
- Cryptography contains no relevant backwards-incompatible changes
https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#4300---2024-07-20
- Txtorcon 24.8.0 is a minor maintenance release:
https://github.com/meejah/txtorcon/releases/tag/v24.8.0
2024-12-14 10:52:26 +01:00
Erik Arvstedt
c66a6aab3a
python3Packages.joinmarket: allow Python 3.12
...
Python 3.12 is the default in Nixos 24.11.
All tests succeed with Python 3.12.
Context:
Related issue:
https://github.com/JoinMarket-Org/joinmarket-clientserver/issues/1589
This issue contains no hints on what changes caused joinmarket to be
incompatible/compatible with Python 3.12.
The restriction to Python <3.12 was added
here (https://github.com/JoinMarket-Org/joinmarket-clientserver/pull/1587 )
in Oct 2023.
This post
(https://github.com/JoinMarket-Org/joinmarket-clientserver/issues/1589#issuecomment-2119278070 )
in the above issue mentions on 2024-05-19 that tests are running again
with Python 3.12.
The current joinmarket version (0.9.11) was released on 2024-02-22.
2024-12-14 10:52:26 +01:00
Erik Arvstedt
e74ddd9464
clightning.plugins.clnrest: init
2024-11-27 18:48:24 +01:00
Jonas Nick
2baff274c4
update nixpkgs
...
btcpayserver: 1.13.1 -> 1.13.5
clightning: 24.05 -> 24.08
lnd: 0.18.2-beta -> 0.18.3-beta
nbxplorer: 2.5.2 -> 2.5.6
2024-09-14 19:12:35 +00:00
Erik Arvstedt
e8e5d8cf4c
python3Packages.joinmarket: update to nixos 24.05
2024-07-20 22:39:46 +02:00
Erik Arvstedt
7f8563afec
python3Packages.pyln-proto: update to nixos 24.05
...
- coincurve has been bumped to v20 on pyln-proto master without further
code changes, so using v19 is fine
- the breaking changes in cryptography 42 don't affect pyln-proto
https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst
2024-07-18 20:57:00 +02:00
Erik Arvstedt
5d463b1677
treewide: remove buildPythonPackageWithDepsCheck
...
Requirements checking has been re-enabled in nixos 24.05.
2024-07-18 20:57:00 +02:00
Erik Arvstedt
44addcb5aa
treewide: use substituteInPlace --replace-fail
...
Now substitution failures result in a script error.
This has recently been backported to nixpkgs 23.11.
2024-05-24 14:55:00 +02:00
Otto Sabart
1cbe955897
joinmarket: 0.9.10 -> 0.9.11
2024-05-22 21:00:00 +02:00
Otto Sabart
946a0b8441
python-bitcointx: 1.1.4 -> 1.1.5
2024-05-21 21:00:00 +02:00
Jonas Nick
38b774b883
update nixpkgs
...
btcpayserver: 1.11.7 -> 1.12.5
hwi: 2.3.1 -> 2.4.0
lnd: 0.17.0-beta -> 0.17.3-beta
nbxplorer: 2.3.66 -> 2.5.0
2024-02-12 19:18:30 +00:00
Jonas Nick
3afe639215
update nixpkgs
...
bitcoind: 25.1 -> 26.0
clightning: 23.08.1 -> 23.11.2
elementsd: 22.1.1 -> 23.2.1
fulcrum: 1.9.7 -> 1.9.8
2024-01-15 10:32:22 +00:00
Jonas Nick
e56ca3de6b
joinmarket: remove custom secp256k1 package
...
python-bitcointx 1.1.4 is compatible with libsecp256k1 0.4.0 in nixpkgs.
Joinmarket uses libsecp256k1 only through python-bitcointx.
2023-12-15 14:55:01 +00:00
Erik Arvstedt
85bbdb857a
python-bitcointx: 1.1.3 -> 1.1.4
2023-12-14 15:00:28 +01:00
Erik Arvstedt
1c07c5fa5c
python-packages: add workaround to reenable requirements checking
2023-12-14 14:53:10 +01:00
Erik Arvstedt
dc1033f1c8
python-packages/joinmarket: update
...
- Add `doCheck = false` and `pythonImportsCheck` where appropriate.
This is good practice in general, but specifically works around a
`buildPythonPackage` bug where the test phase fails due to a
requirements check that is unrelated to testing.
- Enable tests for `jmbitcoin`.
- Patch some requirements. I've checked the release notes of the
required deps for backwards compatibility.
2023-12-14 14:53:10 +01:00
Erik Arvstedt
de51f20ccb
python-packages/clightning: update
2023-12-14 14:51:12 +01:00
nixbitcoin
e4cb004905
joinmarket: 0.9.9 -> 0.9.10
2023-12-02 23:01:15 +01:00
Jonas Nick
c1b370aaa6
update nixpkgs
...
btcpayserver: 1.11.2 -> 1.11.4
clightning: 23.05.2 -> 23.08.1
hwi: 2.2.1 -> 2.3.1
Remove custom coincurve, since nixos-23.05 includes the latest version
of coincurve (18) that's required by pyln-proto.
Co-authored-by: Erik Arvstedt <erik.arvstedt@gmail.com>
2023-09-16 13:40:27 +00:00
Erik Arvstedt
bb2e88cec2
fix python packages for nixos 23.05
2023-07-19 17:22:01 +02:00
nixbitcoin
fcd81d486d
joinmarket: 0.9.8 -> 0.9.9
2023-05-08 19:05:43 +00:00
Erik Arvstedt
2af642f56a
improve comments
...
The comment in python-packackges was obsolete.
2023-01-26 11:17:02 +01:00
Erik Arvstedt
00cceca861
joinmarket: fix Python packages
2022-12-18 20:01:53 +01:00
Erik Arvstedt
e4b8e14d3a
clightning: fix Python packages
...
Patching `pyln-proto` to use cryptography 38 lets
us avoid adding many older Python pkg versions.
The backwards incompatible changes from cryptography 36 to 38
only include the removal of deprecated fns that pyln-proto
doesn't use.
See string "BACKWARDS INCOMPATIBLE" in
https://cryptography.io/en/latest/changelog/
2022-12-18 20:01:53 +01:00
Erik Arvstedt
d1ef2a6e1e
pythonPackages: improve layout
...
- Move the creation of the joinmarket Python pkgs from
`joinmarket/default.nix` to `pkgs/python-packages/default.nix`.
- Move definitions of old pkg versions from the main Python pkgs
to the joinmarket Python pkgs.
These old versions are only required by joinmarket.
2022-12-18 20:01:52 +01:00
Erik Arvstedt
74c8593407
pythonPackages: add indentation
...
This makes the following commit more readable.
2022-12-18 20:01:52 +01:00
Jonas Nick
875fac6862
update nixpkgs
...
btcpayserver: 1.6.12 -> 1.7.1
bitcoind: 24.0 -> 24.0.1
clightning: 0.12.1 -> 22.11.1
lnd: 0.15.4-beta -> 0.15.5-beta
nbxplorer: 2.3.41 -> 2.3.49
2022-12-14 14:48:54 +00:00
Otto Sabart
acd341426a
shellcheck: prevent globbing and word splitting in package shell scripts
2022-09-12 21:00:00 +02:00
Jonas Nick
63f8b74026
pyln-client: add patch that fixes plugins
...
Without this patch, the summary and feeadjuster plugins crash on startup.
2022-09-07 09:33:00 +00:00
Jonas Nick
5255c7e8bc
pyln-client: remove pkg patch that has become unnecessary
2022-09-07 08:44:52 +00:00
Jonas Nick
9c766df16a
Revert "clightning: fix build"
...
This reverts commit 321e8ba06e which is not
necessary anymore due to the nixpkgs update.
2022-09-07 08:44:51 +00:00
Erik Arvstedt
af115d746b
internal scripts: use pinned, cached pkgs
...
Instead of setting up the script PATH via nix-shell, use
`nix shell` with inputs from the nix-bitcoin flake.
Advantages:
- Uses the nixpkgs version from the nix-bitcoin flake instead of
`<nixpkgs>` from the user env (NIX_PATH), so the script runtime
env is reproducible.
- The pkg derivations for the runtime env are cached, which greatly
increases script startup speed.
This commit was generated by running the following script inside the
repo root dir:
def transform(path, src)
if src =~ /#! *nix-shell +-i +bash +-p +(.*)/
pkgs = $1
if src =~ /^.*?(set -e.*?pipefail)\n/
set_statement = $1
src.sub!($&, '')
end
src.sub!(/\A.*?#! *nix-shell.*?\n/m, '')
parents = ([ '..' ] * (path.split('/').count - 1)).join('/')
[
'#!/usr/bin/env bash',
*set_statement,
%(. "${BASH_SOURCE[0]%/*}/#{parents}/helper/run-in-nix-env" "#{pkgs}" "$@"),
nil,
src
].join("\n")
end
end
Dir['**/*.sh'].each do |f|
src = File.read(f)
if new_src = transform(f, src)
puts "Changed file #{f}"
File.write(f, new_src)
end
end
2022-08-28 23:49:12 +02:00
Otto Sabart
a59c3b4b8a
shellcheck: fix lint of package helper bash scripts
2022-08-28 18:25:37 +02:00
Erik Arvstedt
321e8ba06e
clightning: fix build
2022-08-21 10:23:33 +02:00
Jonas Nick
1276c40aaa
update nixpkgs
...
btcpayserver: 1.5.4 -> 1.6.1
nbxplorer: 2.3.26 -> 2.3.28
2022-07-22 13:15:25 +00:00
Erik Arvstedt
f52ff8fdb5
fix python packages on nixos-22.05
...
Fixes:
- joinmarket
- pyln-proto
2022-06-28 00:09:26 +02:00
nixbitcoin
568d728e5c
joinmarket: put python-packages in alphabetical order
2022-06-01 12:37:38 +00:00
Erik Arvstedt
f234e59ca5
nbPython3Packages: fix clightning pkgs
...
Also enable tests for the pyln-* pkgs.
2022-05-06 13:36:06 +00:00
Erik Arvstedt
900836fe0d
joinmarket: add private python package set
...
This is a nonfunctional refactoring commit.
It's needed because pkg `pyln-proto`, which is introduced in the next commit,
requires a different, incompatible version of `cryptography`, which
must be placed in a different python package set.
2022-05-06 13:35:32 +00:00
Erik Arvstedt
ca834cce84
joinmarket: simplify pkgs
...
Remove unused dependencies.
2022-05-06 13:35:32 +00:00
nixbitcoin
4f74690292
joinmarket: 0.9.4 -> 0.9.5
...
Notes
- We can no longer test for `unknown error in JSON-RPC`. `jm-ob-watcher`
now simply outputs `Starting ob-watcher`. Tested working on
https://nixbitcoin.org/orderbook .
- Removed Agora IRC server since it is offline semi-permanently. Should
probably also be removed upstream.
- Includes patch for
https://github.com/JoinMarket-Org/joinmarket-clientserver/issues/1193
2022-03-30 11:25:45 +00:00
William Casarin
ee4cdb0586
pyln-proto: relax pycparser constraint
...
This is a bit hostile to different nixpkgs versions
Signed-off-by: William Casarin <jb55@jb55.com>
2022-02-27 08:42:08 -08:00
William Casarin
80312ba9d7
python-packages/sha256: init at 0.1
...
Signed-off-by: William Casarin <jb55@jb55.com>
2022-02-23 20:48:57 +01:00
William Casarin
71eccb73d6
python-packages/runes: init at 0.4.0
...
Signed-off-by: William Casarin <jb55@jb55.com>
2022-02-23 20:43:12 +01:00