Commit Graph

136 Commits

Author SHA1 Message Date
Florian Sesser
cf82b0b3fa Patch _version.py
Courtesy of the ZKAPAuthorizer nix expressions
2024-12-05 12:06:07 +01:00
Florian Sesser
af8e84fc76 Spell txi2p correctly 2024-12-05 12:06:07 +01:00
Florian Sesser
b37d6022cb Use nixpkgs-provided txi2p-tahoe 2024-12-05 12:06:07 +01:00
Florian Sesser
37373133b9 Use nixpkgs-provided txtorcon 2024-12-05 12:06:07 +01:00
Florian Sesser
e01453e0fd Use the nixpkgs-provided twisted 2024-12-05 12:06:07 +01:00
Florian Sesser
916a68439a Use the nixpkgs-provided pyopenssl 2024-12-05 12:05:51 +01:00
Florian Sesser
76726f24f2 Use the nixpkgs-provided klein 2024-12-05 11:53:49 +01:00
Florian Sesser
c43fab3a04 Drop our vendored pycddl, upstream has our fixes now 2024-12-05 11:53:49 +01:00
Florian Sesser
cf8909a2b5 Update PyOpenSSL to the second-latest version
The latest version 404s ?
2024-12-05 11:53:49 +01:00
Itamar Turner-Trauring
f2f7c1dd48 Fix PyPy. 2024-01-26 09:24:59 -05:00
Itamar Turner-Trauring
b52f0251d5 Update nix packaging. 2024-01-24 15:03:30 -05:00
meejah
9570e4b199 update nix 2024-01-04 20:13:35 -07:00
Jean-Paul Calderone
b0397d3d08 Replace default.nix with a compatibility shim
This also means we drop our niv dependency
2023-07-19 13:57:55 -04:00
Jean-Paul Calderone
93f2a7a717 refer to non-duplicate ticket 2023-07-19 13:51:47 -04:00
Jean-Paul Calderone
2271ca4698 add missing test dependency 2023-07-07 11:47:04 -04:00
Jean-Paul Calderone
ddf4777153 link to the ticket 2023-07-07 10:37:05 -04:00
Jean-Paul Calderone
94e608f136 more python package tweaks
also point nixpkgs-unstable at HEAD of a PR with a cryptography upgrade
I tried just overriding the upgrade into place but it results in infinite
recursion, I suppose because cryptography is a dependency of some of the build
tools and needs extra handling that I don't feel like figuring out for this
short-term hack.  someday the upgrade will land in nixpkgs master and we can
switch back.
2023-07-07 10:02:52 -04:00
Jean-Paul Calderone
8a53175655 compatibility with newer nixpkgs that includes the fix 2023-07-04 13:52:21 -04:00
Jean-Paul Calderone
4b932b8699 turn off a lot of autobahn dependencies we don't need 2023-07-04 13:43:18 -04:00
Jean-Paul Calderone
9247437535 Add a flake with some packages and apps and an overlay 2023-07-04 12:43:23 -04:00
Jean-Paul Calderone
cb082b2094 Merge remote-tracking branch 'origin/master' into 3998-new-pyopenssl 2023-06-13 10:35:51 -04:00
Jean-Paul Calderone
0b0e5c5c93 Keep using our dontBuildDocs helper function
It does the necessary overrides for stopping doc builds and excluding certain
inputs and outputs.  We can't just set `dontBuildDocs` in the derivation
because that's not a setting recognized by the Nixpkgs Python build system.
2023-06-13 10:34:36 -04:00
Jean-Paul Calderone
8421d406e9 Fix the name metadata as well
It was already computed for the derivation we're going to override.  It won't
be recomputed again as a result of `overrideAttrs` so we recompute it and
include it in the override.
2023-06-13 10:33:54 -04:00
Jean-Paul Calderone
608fbce9f9 match the source tarball hash 2023-06-13 10:18:56 -04:00
Jean-Paul Calderone
e5b6049329 match the package name on pypi, case and all
otherwise urls are misconstructed and stuff fails
2023-06-13 10:16:50 -04:00
Itamar Turner-Trauring
43e4e1b09a Get rid of prefix. 2023-06-05 11:52:24 -04:00
Itamar Turner-Trauring
6e6bae9bf6 Some random other hash who knows 2023-06-05 11:34:52 -04:00
Itamar Turner-Trauring
203fd84a88 Need to import it. 2023-06-05 11:30:11 -04:00
Itamar Turner-Trauring
894cb46304 Try merging the two overrides. 2023-06-05 11:27:23 -04:00
Itamar Turner-Trauring
01bc35f129 Try to update nix pyopenssl. 2023-06-05 10:29:57 -04:00
Jean-Paul Calderone
0e28c8ed4a bump the nix package of txtorcon 2023-05-24 08:54:56 -04:00
Jean-Paul Calderone
f5acaea134 bump the version of klein in the nix-based builds 2023-05-11 09:05:58 -04:00
Jean-Paul Calderone
226da2fb2a Add missing pyyaml dependency
It worked without this because we got the pyyaml dependency transitively but
we should declare it directly since it is a direct dependency.
2023-03-26 11:49:17 -04:00
Jean-Paul Calderone
35b921b11d Put Python package overrides in one place, and add a lot more of them
These packaging changes fix issues against CPython 3.11 or PyPy.
2023-03-21 08:57:21 -04:00
Jean-Paul Calderone
dd8f6d408d Remove the non-unit test dependencies from the unit test inputs 2023-03-21 08:56:50 -04:00
Jean-Paul Calderone
41d5538921 Fix maturin build when using PyPy for the pycddl package 2023-03-21 08:56:05 -04:00
Jean-Paul Calderone
900b4a3c98 Package a version of collections-extended compatible with Python 3.11 2023-03-21 08:55:41 -04:00
Jean-Paul Calderone
5cf892b441 Also remove it from the Nix packaging 2023-03-17 15:32:13 -04:00
Jean-Paul Calderone
2a8867f6cf more packaging instructions 2023-03-15 15:47:43 -04:00
Jean-Paul Calderone
aaaec9a69d package update instructions 2023-03-15 15:42:52 -04:00
Jean-Paul Calderone
505032d0ca a note about what this is and what's going on upstream 2023-03-14 20:38:46 -04:00
Jean-Paul Calderone
10414e80ed Remove some unnecessary hierarchy
I thought `default.nix` was handled specially for the purposes of automatic
parameter population but it isn't.  Instead, you just need this `args@{...}`
pattern.
2023-03-14 10:25:02 -04:00
Jean-Paul Calderone
ff50bfe5c4 Accept all the arguments default.nix accepts, too 2023-03-14 10:19:49 -04:00
Jean-Paul Calderone
99559638b9 remove some repetition in the package definition 2023-03-13 19:03:26 -04:00
Jean-Paul Calderone
1b9936bd1b get lib :/ 2023-03-13 17:10:29 -04:00
Jean-Paul Calderone
0d11c6c076 package metadata 2023-03-13 17:06:06 -04:00
Jean-Paul Calderone
1e0e5304d7 actually add the test expression 2023-03-13 17:02:50 -04:00
Jean-Paul Calderone
17a2c32e1f Avoid colliding with the "extra" package in nixpkgs :/ 2023-03-13 17:02:10 -04:00
Jean-Paul Calderone
f59c6a3acf Get our dependencies at runtime, too. 2023-03-13 17:01:57 -04:00
Jean-Paul Calderone
93cd2aa354 re-enable nix-based test suite runs 2023-03-13 16:43:22 -04:00