New Package Request: ArchiveBox
pirate opened this issue ยท 6 comments
Project description
ArchiveBox is a self-hosted internet archiving solution that lets you save sites offline.
Metadata
- homepage URL: https://archivebox.io
- source URL: https://github.com/ArchiveBox/ArchiveBox
- license: MIT
- platforms: Ubuntu/Debian, Arch, FreeBSD, macOS, Windows (WSL/WSL2/Docker only)
Dependencies
python
>= 3.7django
>=3.1,<3.2node
>= 12chromium
/chrome
>= 70wget
>= 1.2curl
>= 7.3youtube-dl
git
For more info, see: https://github.com/ArchiveBox/ArchiveBox#dependencies and https://github.com/ArchiveBox/ArchiveBox/wiki/Install#1-install-dependencies
Context
I'm the maintainer of ArchiveBox, but I'm a NixOS n00b so I don't feel qualified to package it for Nix, but I'd be happy to help anyone that wants to.
@pirate I am volunteering to do it. I have made a WIP version and one thing complicates the packaging process a bit โ your django version requirement. Will things break if we supply django 3.2
(instead of django <3.2,>=3.1.3
)?
I made a WIP PR with django 3.2, but archivebox fails with
ValueError: Primary key 'django.db.models.UUIDField' referred by core.apps.CoreConfig.default_auto_field must subclass AutoField.
Ah yeah unfortunately Django 3.2 is not supported yet, there are a number of incompatibilities besides that one ^. IS it possible to vendor/pin an older version of django? I'm about to do this for the debian package as well.
I only learned about the django failure after it was merged into Nixpkgs ๐ . Anyway I fixed it in #133483 and it's working for me now.
How are y'all using the package, given that we don't have a module? I'm not keen on reinventing one.