- Shell 35%
- Nix 30.7%
- Python 22.8%
- Ruby 8.2%
- Dockerfile 3.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .forgejo | ||
| arch | ||
| docker/arch-docker | ||
| homebrew | ||
| nix | ||
| .gitignore | ||
| Casks | ||
| Formula | ||
| README.md | ||
d-packages
A personal collection of packages, hosted on DGit for use with paru/pacman.
This repo exists for three kinds of packages:
- No AUR package at all — tools I use that nobody has packaged (often because they're mine, or too niche).
- AUR maintainer lets it go stale — a package exists on the AUR, but updates lag behind upstream (or it's sitting flagged out-of-date), so it's tracked directly here instead.
- Critical packages — things I depend on enough that I want a copy I control, independent of whether the AUR (or a given AUR maintainer) is reachable.
Packages here are built and kept up to date automatically (see .forgejo/workflows/): most check upstream on a schedule and rebuild only when something actually changed, so installing from this repo tracks upstream about as closely as building it yourself would.
How updates are triggered
check-upstreams.yml runs every 30 minutes and on every push to main. It runs .forgejo/scripts/check_upstreams.py, which reads .forgejo/upstreams.json, resolves every GitHub-hosted upstream in a single authenticated GraphQL request (using the GH_TOKEN secret), compares the answers with the state recorded in this repo, and dispatches the matching per-package workflow through Forgejo's workflow_dispatch API with the resolved version or commit as inputs. The per-package workflows no longer poll anything on a schedule; they re-check that local state when they start (so duplicate dispatches are harmless) and then build.
Run it manually with the dry-run input to see what it would dispatch. Workflows driven by dgit-listener signals, and the ones whose upstreams are not on GitHub (webscrape, arch-docker), are unchanged.
Layout
| Path | Contents |
|---|---|
arch/ |
One directory per Arch package (PKGBUILD and its files) |
homebrew/ |
Homebrew Formula/ and Casks/, symlinked from the repository root for brew tap |
nix/ |
The Nix flake |
docker/ |
Container images, one directory each (currently arch-docker) |
.forgejo/workflows/ |
Build and update automation for all of the above |
Available Packages
Click a package name to see its registry page (build info, versions, install instructions).
| Package | Description | Arch | Auto-updated | Notes |
|---|---|---|---|---|
| wf-observer-git | Read-only Warframe process observer with an Iroh endpoint (latest main) |
x86_64 | every 30 min | Project of a friend, here for redundancy |
| companion-prime-git | Warframe companion desktop app that connects to Warframe Observer (latest main) |
x86_64 | every 30 min | Temporarily disabled. Project of a friend (same org as wf-observer); upstream repo is private, so the runner authenticates with the GH_TOKEN secret |
| wf-observer-bin | Read-only Warframe process observer with an Iroh endpoint (prebuilt release) | x86_64 | on signal | No schedule — built on a signal from upstream's CI (see dgit-listener), with push/workflow_dispatch as manual fallbacks |
"Auto-updated" reflects the schedule in .forgejo/workflows/; "manual" means the PKGBUILD is only updated by hand when needed; "on signal" means there's no schedule at all — the workflow only runs when dgit-listener dispatches it.
Runner Images
Images used by the CI runners (see runs-on: in .forgejo/workflows/):
| Runner | Image | Source |
|---|---|---|
arch |
arch-docker | docker/arch-docker/ |
arch-docker is rebuilt by build-and-upload-arch-docker.yml whenever any of its inputs change. Every 30 minutes the workflow computes a fingerprint of: the archlinux and docker:dind image digests, the exact set of package versions pacman would install (a full upgrade plus packages.txt), the AUR versions in aur-packages.txt, the latest paru release, the stable and nightly Rust manifests, and the image sources themselves. It compares that with docker/arch-docker/.last-fingerprint and does nothing when they match.
The Dockerfile keeps each input in its own layer so a change only rebuilds what depends on it: the Rust toolchains and the Docker binaries are assembled in separate stages and copied in as whole trees, which makes their layers byte-identical from build to build, so a pacman update does not re-upload them. A new build is tagged candidate, smoke tested (smoke-test.sh), and only then tagged latest and pushed, together with a timestamp tag to roll back to. stable is the default Rust toolchain, nightly is installed alongside it (select it with RUSTUP_TOOLCHAIN=nightly). paru is installed from its release binary and falls back to a source build when that binary does not load against the current libalpm.
Run it locally with IMAGE=arch-docker-test docker/arch-docker/run.sh fingerprint > fingerprint && IMAGE=arch-docker-test docker/arch-docker/run.sh build fingerprint && IMAGE=arch-docker-test docker/arch-docker/run.sh test.
Licensing
Verified against each project's actual license file/metadata upstream, not just the PKGBUILD's license= field (which in a couple of cases turned out to be wrong or imprecise).
| Package | License | Notes |
|---|---|---|
| wf-observer-git | MIT OR Apache-2.0 | Repo ships separate LICENSE-MIT and LICENSE-APACHE files |
Package Information
Naming follows a fixed scheme:
-git: tracks upstream on a timer and rebuilds on every new commit; pkgver encodes the commit count and short hash.-bin: the PKGBUILD's actual payload is a downloaded prebuilt binary/artifact, not something built from source.- no suffix: everything else (built from source, versioned by discrete upstream releases rather than every commit).
Adding the Repository
Setup and install instructions are per-package — click the package name in the table above to open its registry page for the exact paru/pacman configuration and install command.
Homebrew (macOS/Linux)
Some packages are provided as Homebrew formulae in homebrew/Formula/ and casks in homebrew/Casks/, updated by their own workflows (update-homebrew-formulas.yml, update-homebrew-casks.yml, and the Visual Paradigm scrape). They no longer have Arch counterparts. Homebrew only looks for Formula/ and Casks/ at the root of a tap, so the repository root has symlinks of those names pointing into homebrew/; edit and commit through the homebrew/ paths, since git cannot stage files through a symlinked directory.
| Homebrew package | Type | Notes |
|---|---|---|
upkg-git |
formula | Built from source with cargo |
domctl-git |
formula | Built from source with cargo; stable Rust is enough here, despite the PKGBUILD pinning nightly |
lune-git |
formula | Built with pnpm, run through the node formula |
positron-ide-bin |
cask | Positron.app; separate arm64 and x64 builds, checksums pinned from upstream's releases.json |
visual-paradigm-community-bin |
cask | Visual Paradigm.app; separate x86_64 and Apple Silicon builds, each with its own bundled JRE |
gns3-gui |
cask | GNS3.app; universal build. Follows the latest gns3-server tag, pre-releases included, since the GUI refuses to connect to a server of any other version. Conflicts with the official gns3 cask, which only tracks stable releases |
brew trust https://git.denaerium.com/Denaerium/d-packages.git
brew tap Denaerium/d-packages https://git.denaerium.com/Denaerium/d-packages.git
brew install denaerium/d-packages/upkg-git
brew install --cask denaerium/d-packages/positron-ide-bin
Both the trust and the tap must name the clone URL, not Denaerium/d-packages. Homebrew (7.0+) treats a bare user/repository trust entry as referring to that tap on its default GitHub remote, so trusting the short name leaves a tap hosted here untrusted — brew tap then fails with a wall of Invalid formula (<os>) / Refusing to load formula ... from untrusted tap errors, ending in Cannot tap denaerium/d-packages: invalid syntax in tap!. Trusting the URL fixes it; the "invalid syntax" is misdirection, the formulae parse fine.
AI Disclosure
Parts of this repository and its documentation (including this README, such as the licensing table above) were assembled with the help of Anthropic's LLM models. That information may be incomplete, outdated, or simply wrong — do not rely on it. If correctness matters for your use case (licensing in particular), verify it yourself against the upstream project.
Nix
The same repository doubles as a Nix flake, which lives in nix/ (reference it with ?dir=nix). It pins the source repositories of my own projects, plus thefuck and six Plasma widgets, and exposes them the way nixpkgs would:
overlays.defaultaddspkgs.dbot,pkgs.vgtu-totp,pkgs.denaerium-web,pkgs.dgit-listener,pkgs.domctl,pkgs.upkg,pkgs.thefuck,pkgs.proton-cachyos,pkgs.proton-cachyos-x86_64-v3,pkgs.mo2-lintand the Plasma widgetspkgs.tidesi,pkgs.nixdatifier,pkgs.glassy-system-monitor,pkgs.tagesschau-widget,pkgs.plasma-audio-visualizerandpkgs.gitpulse.nixosModules.defaultadds the matchingservices.dbot,services.vgtu-totp,services.denaerium-webandservices.dgit-listeneroptions and applies the overlay. The modules are also available one by one undernixosModules.<name>.packages.x86_64-linux.<name>builds a package directly, for examplenix build ./nix#upkg.
Each project keeps its own Nix files in its nix/ directory (package.nix, overlay.nix, module.nix and, for Gradle projects, deps.json); this flake only collects them. The repositories are public, so every input uses git+https://git.denaerium.com/..., which works from anywhere without an SSH key (the :222 SSH port is only reachable from the LAN, and port 22 does not serve git). Use it from a NixOS configuration with a single input:
inputs.d-packages.url = "git+https://git.denaerium.com/Denaerium/d-packages.git?dir=nix";
# modules = [ d-packages.nixosModules.default ];
To pick up a new commit of a project, run nix flake update <input> in nix/ and commit nix/flake.lock, then update d-packages in the consuming configuration. For Gradle projects, regenerate nix/deps.json after dependency changes: $(nix-build -E 'with import <nixpkgs> {}; callPackage ./nix/package.nix {}' -A mitmCache.updateScript) from the project root.
thefuck is the one package here that is not mine. nixpkgs removed it because upstream is unmaintained and its last release (3.32) does not run on Python 3.12+. nix/thefuck/ builds upstream's latest master instead, with two small patches: python-3.12-compatibility.patch replaces the removed distutils and pkg_resources modules, and pytest-compatibility.patch fixes two test-suite incompatibilities with current pytest. The test suite runs during the build, except for tests/functional, which needs Docker. The same workflow builds it and pushes it to the binary cache; since upstream has been idle since early 2024, the pin only moves if it ever wakes up again.
The Plasma widgets (tidesi, nixdatifier, glassy-system-monitor, tagesschau-widget, plasma-audio-visualizer, gitpulse) are Muddyblack's own projects, so they have no other upstream. Each nix/<name>/package.nix builds the plasmoid straight from the project's GitHub repository, pinned as a flake = false input, instead of going through that repository's own flake. Where the upstream flake did something beyond copying files (pinning Python and secret-tool for tidesi, wrapping helper scripts for nixdatifier and plasma-audio-visualizer) the same is done here, and the outputs were checked to match upstream's file for file. They follow the same workflow as thefuck: build-and-upload-nix.yml builds them when HEAD moves, pushes them to the binary cache and commits the new nix/flake.lock.
proton-cachyos and proton-cachyos-x86_64-v3 are Steam compatibility tools, meant for programs.steam.extraCompatPackages like proton-ge-bin. The package is taken from nix-gaming-edge (MIT, copyright 2025 powerofthe69) and rewritten to read nix/proton-cachyos/sources.json instead of nvfetcher output. It also has its own flake in nix/proton-cachyos/, like signal-desktop. build-and-upload-proton-cachyos.yml follows the latest CachyOS/proton-cachyos release every 3 hours: update.sh rewrites sources.json with the new tag, taking the checksums from the release's asset digests so nothing is downloaded to hash it, and the workflow builds both variants, pushes them to the binary cache and commits the result.