Commit graph

140 commits

Author SHA1 Message Date
tomberek 157aee00a5
nixos/sourcehut: init (#113244)
* nixos/sourcehut: init

* sourcehut: default nginx setup

* sourcehut: documentation

* sourcehut: re-structure settings

* sourcehut: tests

* nixos/sourcehut: adopt StateDirectory

* Apply suggestions from code review

Co-authored-by: Aaron Andersen <aaron@fosslib.net>
Co-authored-by: Thibaut Marty <github@thibautmarty.fr>
Co-authored-by: malte-v <34393802+malte-v@users.noreply.github.com>

* nixos/sourcehut: PR suggestions

* nixos/sourcehut: malte-v patch

* nixos/sourcehut: add base virtualhost

* nixos/sourcehut: remove superfluous key

* nixos/sourcehut: use default from cfg

* nixos/sourcehut: use originBase for logs

* nixos/sourcehut: use toPythonApplication in systemPackages

* nixos/sourcehut: directly use ExecStart

* nixos/sourcehut: update docs

Co-authored-by: Aaron Andersen <aaron@fosslib.net>
Co-authored-by: Thibaut Marty <github@thibautmarty.fr>
Co-authored-by: malte-v <34393802+malte-v@users.noreply.github.com>
2021-06-05 14:42:51 -04:00
Thomas Bereknyei 77e969952e sourcehut: refactor 2021-05-04 20:05:22 -04:00
Thomas Bereknyei 1b802ce414 sourcehut.coresrht: 0.65.2 -> 0.67.4 2021-05-04 20:05:22 -04:00
Thomas Bereknyei 22c2b7a64d sourcehut.hgsrht: 0.26.19 -> 0.27.4 2021-05-04 20:05:22 -04:00
Thomas Bereknyei c4dda181cf sourcehut.scm: 0.22.4 -> 0.22.9 2021-05-04 20:05:22 -04:00
Thomas Bereknyei eec22cc44c sourcehut.hubsrht: 0.11.5 -> 0.13.1 2021-05-04 20:05:22 -04:00
Thomas Bereknyei a8dec0e5e0 sourcehut.gitsrht: 0.61.10 -> 0.72.8 2021-05-04 20:05:22 -04:00
Thomas Bereknyei 9636d25a6c sourcehut.listssrht: 0.45.15 -> 0.48.19 2021-05-04 20:05:22 -04:00
Thomas Bereknyei 350f4867c7 sourcehut.pastesrht: 0.11.2 -> 0.12.1 2021-05-04 20:05:22 -04:00
Thomas Bereknyei 1dbd9b2476 sourcehut.dispatchsrht: 0.14.9 -> 0.15.8 2021-05-04 20:05:22 -04:00
Thomas Bereknyei 14d65eaa3c sourcehut.metasrht: 0.51.2 -> 0.53.14 2021-05-04 20:05:22 -04:00
Thomas Bereknyei 9b3a109c3e sourcehut.mansrht: 0.15.4 -> 0.15.12 2021-05-04 20:05:22 -04:00
Thomas Bereknyei fc5daae1fa sourcehut.todosrht: 0.62.1 -> 0.64.14 2021-05-04 20:05:22 -04:00
Thomas Bereknyei 1383d5574b sourcehut.buildsrht: 0.63.4 -> 0.66.7 2021-05-04 20:05:22 -04:00
Sandro Jäckel b33fe92b81
sourcehut: remove unused inputs 2021-02-16 03:59:55 +01:00
Pavol Rusnak a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Sandro Jäckel 694ff9691e
sourcehout: Disable setuptools check 2021-01-07 10:41:32 +01:00
Doron Behar 38c6398c78
Merge pull request #100248 from RaitoBezarius/raito-srht-todo
todosrht: 0.61.11 -> 0.62.1
2020-10-12 11:11:53 +03:00
Doron Behar 28ad2e0a9b
Merge pull request #100241 from RaitoBezarius/raito-srht-git
gitsrht: 0.60.7 -> 0.61.10
2020-10-12 11:11:23 +03:00
Doron Behar e9e3c1dd96
Merge pull request #100244 from RaitoBezarius/raito-srht-lists
listssrht: 0.45.9 -> 0.45.15
2020-10-12 11:10:45 +03:00
Doron Behar 7c4ee7f3bf
Merge pull request #100245 from RaitoBezarius/raito-srht-man
mansrht: 0.15.1 -> 0.15.4
2020-10-12 11:10:30 +03:00
Doron Behar 61cf7afa28
Merge pull request #100249 from RaitoBezarius/raito-srht-scm
scmsrht: 0.22.3 -> 0.22.4
2020-10-12 11:09:24 +03:00
Doron Behar 0b2858acd1
Merge pull request #100247 from RaitoBezarius/raito-srht-paste 2020-10-12 11:09:03 +03:00
Doron Behar 063461113c
Merge pull request #100246 from RaitoBezarius/raito-srht-meta
metasrht: 0.50.2 -> 0.51.2
2020-10-12 11:08:52 +03:00
Doron Behar 9b179c7f26
Merge pull request #100242 from RaitoBezarius/raito-srht-hg
hgsrht: 0.26.18 -> 0.26.19
2020-10-12 11:07:32 +03:00
Doron Behar 9af82c3add
Merge pull request #100243 from RaitoBezarius/raito-srht-hub 2020-10-12 11:06:49 +03:00
Doron Behar 2c748c5c0f
Merge pull request #100240 from RaitoBezarius/raito-srht-builds
buildsrht: 0.62.6 -> 0.63.4
2020-10-12 11:06:09 +03:00
Raito Bezarius 270ee5bb47 gitsrht: 0.60.7 -> 0.61.10 2020-10-11 17:06:30 +02:00
Raito Bezarius a3a01c1cb4 scmsrht: 0.22.3 -> 0.22.4 2020-10-11 15:57:08 +02:00
Raito Bezarius 414f54c979 todosrht: 0.61.11 -> 0.62.1 2020-10-11 15:56:55 +02:00
Raito Bezarius 87e56d0687 pastesrht: 0.11.1 -> 0.11.2 2020-10-11 15:56:42 +02:00
Raito Bezarius 284836b443 metasrht: 0.50.2 -> 0.51.2 2020-10-11 15:56:26 +02:00
Raito Bezarius 68607f44dd mansrht: 0.15.1 -> 0.15.4 2020-10-11 15:56:15 +02:00
Raito Bezarius cb49394f28 listssrht: 0.45.9 -> 0.45.15 2020-10-11 15:55:44 +02:00
Raito Bezarius 3eea5bad2a hubsrht: 0.10.6 -> 0.11.5 2020-10-11 15:55:28 +02:00
Raito Bezarius 22aa45868f hgsrht: 0.26.18 -> 0.26.19 2020-10-11 15:55:16 +02:00
Raito Bezarius 84c37c7a7c buildsrht: 0.62.6 -> 0.63.4 2020-10-11 15:52:34 +02:00
Raito Bezarius d0c5160b36 srht: 0.64.0 -> 0.65.2 2020-10-11 15:51:20 +02:00
Edmund Wu 84066b0a4f sourcehut.srht: misaka -> mistletoe
Upstream uses mistletoe now [1]

[1] 773c3e94eb
2020-09-08 17:43:57 -07:00
Edmund Wu 496cbef3d1 sourcehut: python37 -> python38 2020-09-08 17:43:57 -07:00
Edmund Wu db5c7cc5ee sourcehut.gitsrht: fix build 2020-09-08 17:43:57 -07:00
Edmund Wu e616754232 sourcehut.metasrht: check buildGoModule 2020-09-08 17:43:57 -07:00
Edmund Wu 00e0bdf938 sourcehut.gitsrht: check buildGoModule 2020-09-08 17:43:57 -07:00
Edmund Wu c75cd827df sourcehut.buildsrht: check buildGoModule 2020-09-08 17:43:57 -07:00
Edmund Wu 83be8b43db sourcehut.metasrht: include api module 2020-09-08 17:43:57 -07:00
Edmund Wu 8518ef1687 sourcehut.gitsrht: include api module 2020-09-08 17:43:57 -07:00
Edmund Wu 3fd4e765d0 sourcehut.gitsrht: fix build 2020-09-08 17:43:57 -07:00
Edmund Wu 5e9feb2427 sourcehut.buildsrht: fix build 2020-09-08 17:43:57 -07:00