Commit Graph

127 Commits

Author SHA1 Message Date
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
Jean-Paul Calderone
02904a363b Drop nixpkgs 21.11 - it is missing some stuff we need
Not only some nixpkgs facilities but it also includes a rustc that's too old
to build pycddl.
2023-03-13 16:19:07 -04:00
Jean-Paul Calderone
fa2ba64d4d Also supply the i2p extra dependency, txi2p 2023-03-13 16:02:57 -04:00
Jean-Paul Calderone
568e1b5317 Replace the mach-nix-based package with a nixpkgs-based package
The built-in nixpkgs `buildPythonPackage` doesn't do metadata discovery so we
have to duplicate a lot of the package metadata.  However, mach-nix is
unmaintained and incompatible with newer versions of nixpkgs.
2023-03-13 15:19:43 -04:00
Jean-Paul Calderone
96d783534a Bump mach-nix and pypi-deps-db
The newer pypi-deps-db has the pycddl release we want.
The newer mach-nix is required to be compatible with fixes in that pypi-deps-db.
2023-01-23 08:48:29 -05:00
Jean-Paul Calderone
46fbe3d028 bump pypi-deps-db for new pycddl version 2022-10-18 17:32:23 -04:00
Jean-Paul Calderone
cb91012f98 bump the pypi db to a version including upcoming pycddl dependency 2022-04-13 08:25:11 -04:00
Jean-Paul Calderone
2e8c51ac4e bump nixpkgs-21.11 and drop the special zfec handling
the latest zfec release works fine without help
2022-04-13 08:24:53 -04:00
Jean-Paul Calderone
86bcfaa14d Update CircleCI configuration to the new packaging 2022-01-27 13:24:05 -05:00
Jean-Paul Calderone
8a1d4617c2 Add new Nix packaging using mach-nix.buildPythonPackage 2022-01-27 13:00:36 -05:00