This extends the current script to pull the gqlgen version from the
go.mod file in the repository root (which we check out already anyway)
and replace it as necessary.
Makes updating all packages _a lot_ less painful. And since this is now
automated, remove the default value we previously defined for
`gqlgenVersion`.
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
flask was recently updated to it's latest version 3.0.1, which in turn
breaks the override for flask-sqlalchemy 2.5.1, as this requires flask
2.x.
At the end, this then breaks (building) sourcehut.
Fixes: a24d9a6a54 ("python311Packages.flask: 2.3.3 -> 3.0.1")
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This provides the same common structure as all other sourcehut packages,
thus opening the possibility to even further simplify this in the
future.
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
Also refactor it to the same common structure as all other sourcehut
packages, thus opening the possibility to even further simplify this in
the future.
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
Also refactor it to the same common structure as all other sourcehut
packages, thus opening the possibility to even further simplify this in
the future.
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
Also refactor it to the same common structure as all other sourcehut
packages, thus opening the possibility to even further simplify this in
the future.
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
Also refactor it to the same common structure as all other sourcehut
packages, thus opening the possibility to even further simplify this in
the future.
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
Fix test failures by disabline tests that use multiprocessing. On
Darwin, multiprocessing uses `spawn` instead of `fork` by default,
resulting in test failures due to pickling errors.
These are needed, as the used sourcehut version is not compatible with
the newer major-releases for both packages.
Signed-off-by: Christoph Heiss <christoph@c8h4.io>