Skip to content
SPECIFICTION
Get listed

Hydra vs SourceHut Builds

Hydra

github.com

SourceHut Builds

builds.sr.ht

Side by side

FigureHydraSourceHut Builds
Price fromFree$4/mo
Free planYes—
Free trial——
Open sourceYes—
WebYesYes
LinuxYesYes
APIYesYes
Self-hostedYesYes
Plans published13
Spec score · Continuous Integration Software8.5 (#11)7.4 (#44)
APIThe repository includes a JSON API specification in hydra-api.yaml and points users to Swagger Editor for exploration.Builds has a GraphQL API for submitting jobs and querying job information.
PurposeHydra is a continuous integration service for Nix based projects.SourceHut Builds is a continuous integration service that runs user-defined tasks to validate code, automate deployment, and run linters.
Self-hostingHydra can be self-hosted through the NixOS services.hydra module.SourceHut is open source and can be run on infrastructure you provide.

Plans

Hydra

  • HydraFree

Hydra pricing →

SourceHut Builds

  • Amateur hackers$4 a month
  • Typical hackers$8 a month
  • Professional hackers$12 a month

SourceHut Builds pricing →

In their own words

Hydra

Hydra is a continuous integration service for projects based on Nix. It checks out project source periodically or continuously, builds it, runs tests, and produces reports. Work is organized into jobsets whose inputs can trigger builds when they change; jobsets can also depend on one another. Flake jobsets are supported when their outputs expose a hydraJobs attribute set. Jobs can produce packages, ISO images, or tarballs, and jobset inputs can use Git checkout sources. Hydra also provides a JSON API. It is aimed at Nix and NixOS package developers, not people who only need to use NixOS. Hydra is open source under GPL-3.0 and listed at free. It is self-hosted, with no hosted option listed, and running it is currently supported only on NixOS; the repository recommends the NixOS module for production. Flake evaluation is restricted from accessing files outside the Nix store. Some state is stored in the database, so backups are needed, and the wiki reports that hydra-queue-runner can sometimes leave queued builds unscheduled.

Visit github.com

SourceHut Builds

SourceHut Builds has no write-up on Specifiction yet; its figures are above.

Visit builds.sr.ht