Put in earplugs
This commit is contained in:
parent
078fd33e00
commit
f7a4c002d5
12 changed files with 137 additions and 61 deletions
76
channel/zzkt/notes.org
Normal file
76
channel/zzkt/notes.org
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
# -*- mode: org; coding: utf-8; -*-
|
||||||
|
#+LaTeX_CLASS: zzkt-article
|
||||||
|
#+LateX_Header: \setcounter{secnumdepth}{0}
|
||||||
|
#+OPTIONS: toc:2 num:nil html-style:nil
|
||||||
|
#+author:
|
||||||
|
#+title: packaging notes & sundry
|
||||||
|
|
||||||
|
* soupault install via opam
|
||||||
|
|
||||||
|
#+BEGIN_SRC text
|
||||||
|
; [zxxcxxz] eval $(opam env --switch=default)
|
||||||
|
; [zxxcxxz] opam install soupault=4.6.0
|
||||||
|
[NOTE] External dependency handling not supported for OS family 'guix'.
|
||||||
|
You can disable this check using 'opam option --global depext=false'
|
||||||
|
The following actions will be performed:
|
||||||
|
- install ocamlbuild 0.14.3 [required by logs]
|
||||||
|
- install ocamlfind 1.9.6 [required by logs]
|
||||||
|
- install seq base [required by fileutils, spelll]
|
||||||
|
- install dune 3.12.2 [required by soupault]
|
||||||
|
- install uchar 0.0.2 [required by markup]
|
||||||
|
- install topkg 1.0.7 [required by logs]
|
||||||
|
- install tsort 2.1.0 [required by soupault]
|
||||||
|
- install stdlib-shims 0.3.0 [required by fileutils, spelll]
|
||||||
|
- install sexplib0 v0.16.0 [required by ezjsonm]
|
||||||
|
- install result 1.5 [required by ppx_deriving]
|
||||||
|
- install re 1.11.0 [required by soupault]
|
||||||
|
- install ppx_derivers 1.2.1 [required by ppx_deriving]
|
||||||
|
- install pp 1.2.0 [required by dune-private-libs]
|
||||||
|
- install ordering 3.12.2 [required by dyn, stdune]
|
||||||
|
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
|
||||||
|
- install menhirSdk 20231231 [required by menhir]
|
||||||
|
- install menhirLib 20231231 [required by otoml]
|
||||||
|
- install menhirCST 20231231 [required by menhir]
|
||||||
|
- install lua-ml 0.9.4 [required by soupault]
|
||||||
|
- install either 1.0.0 [required by containers]
|
||||||
|
- install csexp 1.5.2 [required by dune-configurator]
|
||||||
|
- install cppo 1.6.9 [required by ppx_deriving]
|
||||||
|
- install camlp-streams 5.0.1 [required by camomile, lambdasoup]
|
||||||
|
- install bigarray-compat 1.1.0 [required by ctypes]
|
||||||
|
- install base64 3.5.1 [required by soupault]
|
||||||
|
- install uutf 1.0.3 [required by jingoo, ezjsonm, otoml]
|
||||||
|
- install uucp 15.1.0 [required by jingoo]
|
||||||
|
- install rresult 0.7.0 [required by bos]
|
||||||
|
- install fmt 0.9.0 [required by soupault]
|
||||||
|
- install astring 0.8.5 [required by bos]
|
||||||
|
- install spelll 0.4 [required by soupault]
|
||||||
|
- install integers 0.7.0 [required by ctypes]
|
||||||
|
- install fileutils 0.6.4 [required by soupault]
|
||||||
|
- install dyn 3.12.2 [required by dune-private-libs]
|
||||||
|
- install ppxlib 0.31.0 [required by ppx_deriving]
|
||||||
|
- install menhir 20231231 [required by odate, jingoo, otoml]
|
||||||
|
- install dune-configurator 3.12.2 [required by containers, yaml]
|
||||||
|
- install markup 1.0.3 [required by soupault]
|
||||||
|
- install jsonm 1.0.2 [required by ezjsonm]
|
||||||
|
- install logs 0.7.0 [required by soupault]
|
||||||
|
- install cstruct 6.2.0 [required by eqaf, hex]
|
||||||
|
- install fpath 0.7.3 [required by bos]
|
||||||
|
- install stdune 3.12.2 [required by dune-private-libs]
|
||||||
|
- install ppx_deriving 5.2.1 [required by jingoo]
|
||||||
|
- install otoml 1.0.4 [required by soupault]
|
||||||
|
- install odate 0.7 [required by soupault]
|
||||||
|
- install ctypes 0.21.1 [required by yaml]
|
||||||
|
- install containers 3.13.1 [required by soupault]
|
||||||
|
- install lambdasoup 1.0.0 [required by soupault]
|
||||||
|
- install hex 1.5.0 [required by ezjsonm]
|
||||||
|
- install eqaf 0.9 [required by digestif]
|
||||||
|
- install bos 0.2.1 [required by yaml]
|
||||||
|
- install dune-private-libs 3.12.2 [required by dune-site]
|
||||||
|
- install jingoo 1.5.0 [required by soupault]
|
||||||
|
- install ezjsonm 1.3.0 [required by soupault]
|
||||||
|
- install digestif 1.1.4 [required by soupault]
|
||||||
|
- install yaml 3.2.0 [required by soupault]
|
||||||
|
- install dune-site 3.12.2 [required by camomile]
|
||||||
|
- install camomile 2.0.0 [required by soupault]
|
||||||
|
- install soupault 4.6.0
|
||||||
|
#+END_SRC
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
;; as seen near gnu/packages/fonts.scm
|
;; as seen near gnu/packages/fonts.scm
|
||||||
|
|
||||||
(define-module (zzkt fonts-osp)
|
(define-module (zzkt packages fonts-osp)
|
||||||
#:use-module (ice-9 regex)
|
#:use-module (ice-9 regex)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
;; as seen near gnu/packages/fonts.scm
|
;; as seen near gnu/packages/fonts.scm
|
||||||
|
|
||||||
(define-module (zzkt fonts-velvetyne)
|
(define-module (zzkt packages fonts-velvetyne)
|
||||||
#:use-module (ice-9 regex)
|
#:use-module (ice-9 regex)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
;; as seen near gnu/packages/fonts.scm
|
;; as seen near gnu/packages/fonts.scm
|
||||||
|
|
||||||
(define-module (zzkt fonts)
|
(define-module (zzkt packages fonts)
|
||||||
#:use-module (ice-9 regex)
|
#:use-module (ice-9 regex)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
|
@ -16,7 +16,7 @@
|
||||||
;;; You should have received a copy of the GNU General Public License
|
;;; You should have received a copy of the GNU General Public License
|
||||||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
(define-module (zzkt frameworkinfo)
|
(define-module (zzkt packages frameworkinfo)
|
||||||
#:use-module (guix)
|
#:use-module (guix)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
(define-public frameworkinfo
|
(define-public frameworkinfo
|
||||||
(package
|
(package
|
||||||
(name "frameworkinfo")
|
(name "frameworkinfo")
|
||||||
(version "0.2")
|
(version "0.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
|
@ -16,7 +16,7 @@
|
||||||
;;; You should have received a copy of the GNU General Public License
|
;;; You should have received a copy of the GNU General Public License
|
||||||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
(define-module (zzkt plugdata)
|
(define-module (zzkt packages plugdata)
|
||||||
#:use-module (guix)
|
#:use-module (guix)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
|
@ -16,7 +16,7 @@
|
||||||
;;; You should have received a copy of the GNU General Public License
|
;;; You should have received a copy of the GNU General Public License
|
||||||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
(define-module (zzkt sbcl-osc)
|
(define-module (zzkt packages sbcl-osc)
|
||||||
#:use-module (guix)
|
#:use-module (guix)
|
||||||
#:use-module (guix build-system asdf)
|
#:use-module (guix build-system asdf)
|
||||||
#:use-module (gnu packages lisp-xyz)
|
#:use-module (gnu packages lisp-xyz)
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
;; via https://issues.guix.gnu.org/68203
|
;; via https://issues.guix.gnu.org/68203
|
||||||
|
|
||||||
(define-module (zzkt scribus)
|
(define-module (zzkt packages scribus)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
|
@ -19,7 +19,7 @@
|
||||||
;;; via unofficial channels
|
;;; via unofficial channels
|
||||||
;;; https://repo.fo.am/zzkt/guix
|
;;; https://repo.fo.am/zzkt/guix
|
||||||
|
|
||||||
(define-module (zzkt soupault)
|
(define-module (zzkt packages soupault)
|
||||||
#:use-module (guix)
|
#:use-module (guix)
|
||||||
#:use-module (guix build-system dune)
|
#:use-module (guix build-system dune)
|
||||||
#:use-module (guix build-system ocaml)
|
#:use-module (guix build-system ocaml)
|
|
@ -22,7 +22,7 @@
|
||||||
;; - supercollider
|
;; - supercollider
|
||||||
;; - https://github.com/musikinformatik/SuperDirt
|
;; - https://github.com/musikinformatik/SuperDirt
|
||||||
|
|
||||||
(define-module (zzkt tidal)
|
(define-module (zzkt packages tidal)
|
||||||
#:use-module (guix)
|
#:use-module (guix)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
|
@ -14,16 +14,16 @@
|
||||||
#:use-module (srfi srfi-1)
|
#:use-module (srfi srfi-1)
|
||||||
#:use-module (srfi srfi-26)
|
#:use-module (srfi srfi-26)
|
||||||
#:use-module (ice-9 string-fun)
|
#:use-module (ice-9 string-fun)
|
||||||
#:export (oci-grafana-service-type
|
#:export (grafana-service-type
|
||||||
oci-grafana-configuration
|
grafana-configuration
|
||||||
oci-grafana-configuration?
|
grafana-configuration?
|
||||||
oci-grafana-configuration-fields
|
grafana-configuration-fields
|
||||||
oci-grafana-configuration-datadir
|
grafana-configuration-datadir
|
||||||
oci-grafana-configuration-image
|
grafana-configuration-image
|
||||||
oci-grafana-configuration-port
|
grafana-configuration-port
|
||||||
oci-grafana-configuration-grafana.ini
|
grafana-configuration-grafana.ini
|
||||||
oci-grafana-configuration-network
|
grafana-configuration-network
|
||||||
oci-grafana-configuration->oci-container-configuration
|
grafana-configuration->container-configuration
|
||||||
|
|
||||||
%grafana-accounts
|
%grafana-accounts
|
||||||
%grafana-activation
|
%grafana-activation
|
||||||
|
@ -137,7 +137,7 @@
|
||||||
"Everything you want to manually add to grafana.ini.")
|
"Everything you want to manually add to grafana.ini.")
|
||||||
(prefix gf-))
|
(prefix gf-))
|
||||||
|
|
||||||
(define-configuration oci-grafana-configuration
|
(define-configuration grafana-configuration
|
||||||
(datadir
|
(datadir
|
||||||
(string "/var/lib/grafana")
|
(string "/var/lib/grafana")
|
||||||
"The directory where grafana writes state.")
|
"The directory where grafana writes state.")
|
||||||
|
@ -169,11 +169,11 @@ to \"host\" the @code{port} field will be ignored.")
|
||||||
|
|
||||||
(define (%grafana-activation config)
|
(define (%grafana-activation config)
|
||||||
"Return an activation gexp for Grafana."
|
"Return an activation gexp for Grafana."
|
||||||
(let* ((datadir (oci-grafana-configuration-datadir config))
|
(let* ((datadir (grafana-configuration-datadir config))
|
||||||
(grafana.ini
|
(grafana.ini
|
||||||
(mixed-text-file
|
(mixed-text-file
|
||||||
"grafana.ini"
|
"grafana.ini"
|
||||||
(serialize-configuration (oci-grafana-configuration-grafana.ini config)
|
(serialize-configuration (grafana-configuration-grafana.ini config)
|
||||||
grafana-configuration-fields))))
|
grafana-configuration-fields))))
|
||||||
#~(begin
|
#~(begin
|
||||||
(use-modules (guix build utils))
|
(use-modules (guix build utils))
|
||||||
|
@ -189,19 +189,19 @@ to \"host\" the @code{port} field will be ignored.")
|
||||||
'(("/etc/grafana/grafana.ini"
|
'(("/etc/grafana/grafana.ini"
|
||||||
#$grafana.ini)))))))
|
#$grafana.ini)))))))
|
||||||
|
|
||||||
(define oci-grafana-configuration->oci-container-configuration
|
(define grafana-configuration->container-configuration
|
||||||
(lambda (config)
|
(lambda (config)
|
||||||
(let* ((datadir
|
(let* ((datadir
|
||||||
(oci-grafana-configuration-datadir config))
|
(grafana-configuration-datadir config))
|
||||||
(grafana.ini (oci-grafana-configuration-grafana.ini config))
|
(grafana.ini (grafana-configuration-grafana.ini config))
|
||||||
(network
|
(network
|
||||||
(oci-grafana-configuration-network config))
|
(grafana-configuration-network config))
|
||||||
(image
|
(image
|
||||||
(oci-grafana-configuration-image config))
|
(grafana-configuration-image config))
|
||||||
(port
|
(port
|
||||||
(oci-grafana-configuration-port config))
|
(grafana-configuration-port config))
|
||||||
(container-config
|
(container-config
|
||||||
(oci-container-configuration
|
(container-configuration
|
||||||
(image image)
|
(image image)
|
||||||
(ports
|
(ports
|
||||||
`((,port . "3000")))
|
`((,port . "3000")))
|
||||||
|
@ -212,19 +212,19 @@ to \"host\" the @code{port} field will be ignored.")
|
||||||
("/etc/grafana/grafana.ini" . "/opt/bitnami/grafana/conf/grafana.ini"))))))
|
("/etc/grafana/grafana.ini" . "/opt/bitnami/grafana/conf/grafana.ini"))))))
|
||||||
(list
|
(list
|
||||||
(if (maybe-value-set? network)
|
(if (maybe-value-set? network)
|
||||||
(oci-container-configuration
|
(container-configuration
|
||||||
(inherit container-config)
|
(inherit container-config)
|
||||||
(network network))
|
(network network))
|
||||||
container-config)))))
|
container-config)))))
|
||||||
|
|
||||||
(define oci-grafana-service-type
|
(define grafana-service-type
|
||||||
(service-type (name 'grafana)
|
(service-type (name 'grafana)
|
||||||
(extensions (list (service-extension oci-container-service-type
|
(extensions (list (service-extension container-service-type
|
||||||
oci-grafana-configuration->oci-container-configuration)
|
grafana-configuration->container-configuration)
|
||||||
(service-extension account-service-type
|
(service-extension account-service-type
|
||||||
(const %grafana-accounts))
|
(const %grafana-accounts))
|
||||||
(service-extension activation-service-type
|
(service-extension activation-service-type
|
||||||
%grafana-activation)))
|
%grafana-activation)))
|
||||||
(default-value (oci-grafana-configuration))
|
(default-value (grafana-configuration))
|
||||||
(description
|
(description
|
||||||
"This service install a OCI backed Grafana Shepherd Service.")))
|
"Grafana as Shepherd Service.")))
|
|
@ -10,16 +10,16 @@
|
||||||
#:use-module (gnu services docker)
|
#:use-module (gnu services docker)
|
||||||
#:use-module (gnu system shadow)
|
#:use-module (gnu system shadow)
|
||||||
#:use-module (guix gexp)
|
#:use-module (guix gexp)
|
||||||
#:export (oci-prometheus-service-type
|
#:export (prometheus-service-type
|
||||||
oci-prometheus-configuration
|
prometheus-configuration
|
||||||
oci-prometheus-configuration?
|
prometheus-configuration?
|
||||||
oci-prometheus-configuration-fields
|
prometheus-configuration-fields
|
||||||
oci-prometheus-configuration-datadir
|
prometheus-configuration-datadir
|
||||||
oci-prometheus-configuration-network
|
prometheus-configuration-network
|
||||||
oci-prometheus-configuration-file
|
prometheus-configuration-file
|
||||||
oci-prometheus-configuration-image
|
prometheus-configuration-image
|
||||||
oci-prometheus-configuration-port
|
prometheus-configuration-port
|
||||||
oci-prometheus-configuration->oci-container-configuration
|
prometheus-configuration->container-configuration
|
||||||
%prometheus-accounts
|
%prometheus-accounts
|
||||||
%prometheus-activation))
|
%prometheus-activation))
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ scrape_configs:
|
||||||
|
|
||||||
(define-maybe string)
|
(define-maybe string)
|
||||||
|
|
||||||
(define-configuration oci-prometheus-configuration
|
(define-configuration prometheus-configuration
|
||||||
(datadir
|
(datadir
|
||||||
(string "/var/lib/prometheus")
|
(string "/var/lib/prometheus")
|
||||||
"The directory where prometheus writes state.")
|
"The directory where prometheus writes state.")
|
||||||
|
@ -84,7 +84,7 @@ port inside the container.")
|
||||||
|
|
||||||
(define (%prometheus-activation config)
|
(define (%prometheus-activation config)
|
||||||
"Return an activation gexp for Prometheus."
|
"Return an activation gexp for Prometheus."
|
||||||
(let ((datadir (oci-prometheus-configuration-datadir config)))
|
(let ((datadir (prometheus-configuration-datadir config)))
|
||||||
#~(begin
|
#~(begin
|
||||||
(use-modules (guix build utils))
|
(use-modules (guix build utils))
|
||||||
(let* ((user (getpwnam "prometheus"))
|
(let* ((user (getpwnam "prometheus"))
|
||||||
|
@ -94,22 +94,22 @@ port inside the container.")
|
||||||
(mkdir-p datadir)
|
(mkdir-p datadir)
|
||||||
(chown datadir uid gid)))))
|
(chown datadir uid gid)))))
|
||||||
|
|
||||||
(define oci-prometheus-configuration->oci-container-configuration
|
(define prometheus-configuration->container-configuration
|
||||||
(lambda (config)
|
(lambda (config)
|
||||||
(let* ((datadir
|
(let* ((datadir
|
||||||
(oci-prometheus-configuration-datadir config))
|
(prometheus-configuration-datadir config))
|
||||||
(network
|
(network
|
||||||
(oci-prometheus-configuration-network config))
|
(prometheus-configuration-network config))
|
||||||
(image
|
(image
|
||||||
(oci-prometheus-configuration-image config))
|
(prometheus-configuration-image config))
|
||||||
(port
|
(port
|
||||||
(oci-prometheus-configuration-port config))
|
(prometheus-configuration-port config))
|
||||||
(metrics-port
|
(metrics-port
|
||||||
(oci-prometheus-configuration-metrics-port config))
|
(prometheus-configuration-metrics-port config))
|
||||||
(prometheus.yml
|
(prometheus.yml
|
||||||
(oci-prometheus-configuration-file config))
|
(prometheus-configuration-file config))
|
||||||
(container-config
|
(container-config
|
||||||
(oci-container-configuration
|
(container-configuration
|
||||||
(command
|
(command
|
||||||
'("--web.enable-lifecycle"
|
'("--web.enable-lifecycle"
|
||||||
"--config.file=/etc/prometheus/prometheus.yml"
|
"--config.file=/etc/prometheus/prometheus.yml"
|
||||||
|
@ -124,20 +124,20 @@ port inside the container.")
|
||||||
|
|
||||||
(list
|
(list
|
||||||
(if (maybe-value-set? network)
|
(if (maybe-value-set? network)
|
||||||
(oci-container-configuration
|
(container-configuration
|
||||||
(inherit container-config)
|
(inherit container-config)
|
||||||
(network network))
|
(network network))
|
||||||
container-config)))))
|
container-config)))))
|
||||||
|
|
||||||
|
|
||||||
(define oci-prometheus-service-type
|
(define prometheus-service-type
|
||||||
(service-type (name 'prometheus)
|
(service-type (name 'prometheus)
|
||||||
(extensions (list (service-extension oci-container-service-type
|
(extensions (list (service-extension container-service-type
|
||||||
oci-prometheus-configuration->oci-container-configuration)
|
prometheus-configuration->container-configuration)
|
||||||
(service-extension account-service-type
|
(service-extension account-service-type
|
||||||
(const %prometheus-accounts))
|
(const %prometheus-accounts))
|
||||||
(service-extension activation-service-type
|
(service-extension activation-service-type
|
||||||
%prometheus-activation)))
|
%prometheus-activation)))
|
||||||
(default-value (oci-prometheus-configuration))
|
(default-value (prometheus-configuration))
|
||||||
(description
|
(description
|
||||||
"Prometheus as a Shepherd Service.")))
|
"Prometheus as a Shepherd Service.")))
|
Loading…
Reference in a new issue