reformatting and cleaning repo

This commit is contained in:
Jean-François GUILLAUME 2025-02-10 12:20:43 +00:00
commit 1f01ad06a7
42 changed files with 10407 additions and 11840 deletions

View file

@ -1,20 +1,17 @@
(define-module (glicid packages algebra)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages commencement))
#:use-module (guix download)
#:use-module (guix packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages commencement))
(define-public fftw-openmpi-with-fortran
(package
(inherit fftw-openmpi)
(name "fftw-openmpi-with-fortran")
(version "3.3.10")
(source (origin
(method url-fetch)
(uri (string-append "https://www.fftw.org/fftw-" version
".tar.gz"))
(sha256
(base32
"0rv4w90b65b2kvjpj8g9bdkl4xqc42q20f5bzpxdrkajk1a35jan"))))
(inputs `(("gfortran-toolchain" ,gfortran-toolchain)
,@(package-inputs fftw-openmpi)))))
(package
(inherit fftw-openmpi)
(name "fftw-openmpi-with-fortran")
(version "3.3.10")
(source (origin
(method url-fetch)
(uri (string-append "https://www.fftw.org/fftw-" version ".tar.gz"))
(sha256 (base32 "0rv4w90b65b2kvjpj8g9bdkl4xqc42q20f5bzpxdrkajk1a35jan"))))
(inputs `(("gfortran-toolchain" ,gfortran-toolchain)
,@(package-inputs fftw-openmpi)))))

View file

@ -1,107 +1,106 @@
(define-module (glicid packages backup)
#:use-module (glicid packages crates-imported)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system cargo)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages compression)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-compression)
#:use-module (gnu packages crates-web)
#:use-module (gnu packages crates-check)
)
#:use-module (glicid packages crates-imported)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system cargo)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages compression)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-compression)
#:use-module (gnu packages crates-web)
#:use-module (gnu packages crates-check)
)
(define-public rust-rustic-rs-0.9
(package
(name "rust-rustic-rs")
(version "0.9.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustic-rs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0w9gqxbj9cfpi6isvfv7as14scwfjblmfsm0cxyfs43a8nd7s22g"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-abscissa-core" ,rust-abscissa-core-0.8)
("rust-aho-corasick" ,rust-aho-corasick-1)
("rust-anyhow" ,rust-anyhow-1)
("rust-bytes" ,rust-bytes-1)
("rust-bytesize" ,rust-bytesize-1)
("rust-cached" ,rust-cached-0.54)
("rust-chrono" ,rust-chrono-0.4)
("rust-clap" ,rust-clap-4)
("rust-clap-complete" ,rust-clap-complete-4)
("rust-comfy-table" ,rust-comfy-table-7)
("rust-conflate" ,rust-conflate-0.3)
("rust-convert-case" ,rust-convert-case-0.6)
("rust-crossterm" ,rust-crossterm-0.28)
("rust-ctrlc" ,rust-ctrlc-3)
("rust-dateparser" ,rust-dateparser-0.2)
("rust-dav-server" ,rust-dav-server-0.7)
("rust-derive-more" ,rust-derive-more-1)
("rust-dialoguer" ,rust-dialoguer-0.11)
("rust-directories" ,rust-directories-5)
("rust-displaydoc" ,rust-displaydoc-0.2)
("rust-flate2" ,rust-flate2-1)
("rust-fuse-mt" ,rust-fuse-mt-0.6)
("rust-futures" ,rust-futures-0.3)
("rust-gethostname" ,rust-gethostname-0.5)
("rust-globset" ,rust-globset-0.4)
("rust-human-panic" ,rust-human-panic-2)
("rust-humantime" ,rust-humantime-2)
("rust-indicatif" ,rust-indicatif-0.17)
("rust-itertools" ,rust-itertools-0.13)
("rust-jaq-core" ,rust-jaq-core-2)
("rust-jaq-json" ,rust-jaq-json-1)
("rust-jaq-std" ,rust-jaq-std-2)
("rust-jemallocator-global" ,rust-jemallocator-global-0.3)
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-mimalloc" ,rust-mimalloc-0.1)
("rust-open" ,rust-open-5)
("rust-ratatui" ,rust-ratatui-0.29)
("rust-rhai" ,rust-rhai-1)
("rust-rustic-backend" ,rust-rustic-backend-0.5)
("rust-rustic-core" ,rust-rustic-core-0.7)
("rust-scopeguard" ,rust-scopeguard-1)
("rust-self-update" ,rust-self-update-0.39)
("rust-semver" ,rust-semver-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-serde-with" ,rust-serde-with-3)
("rust-simplelog" ,rust-simplelog-0.12)
("rust-tar" ,rust-tar-0.4)
("rust-thiserror" ,rust-thiserror-2)
("rust-tokio" ,rust-tokio-1)
("rust-toml" ,rust-toml-0.8)
("rust-tui-textarea" ,rust-tui-textarea-0.7)
("rust-warp" ,rust-warp-0.3)
("rust-zip" ,rust-zip-2))
#:cargo-development-inputs (("rust-abscissa-core" ,rust-abscissa-core-0.8)
("rust-assert-cmd" ,rust-assert-cmd-2)
("rust-cfg-if" ,rust-cfg-if-1)
("rust-dircmp" ,rust-dircmp-0.2)
("rust-flate2" ,rust-flate2-1)
("rust-insta" ,rust-insta-1)
("rust-predicates" ,rust-predicates-3)
("rust-pretty-assertions" ,rust-pretty-assertions-1)
("rust-quickcheck" ,rust-quickcheck-1)
("rust-quickcheck-macros" ,rust-quickcheck-macros-1)
("rust-rstest" ,rust-rstest-0.23)
("rust-rustic-testing" ,rust-rustic-testing-0.3)
("rust-tar" ,rust-tar-0.4)
("rust-tempfile" ,rust-tempfile-3)
("rust-toml" ,rust-toml-0.8))))
(native-inputs (list pkg-config))
(inputs (list (list zstd "lib")))
(home-page "https://rustic.cli.rs/")
(synopsis "rustic - fast, encrypted, deduplicated backups powered by Rust")
(description
"This package provides rustic - fast, encrypted, deduplicated backups powered by Rust.")
(license (list license:asl2.0 license:expat))))
(package
(name "rust-rustic-rs")
(version "0.9.5")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustic-rs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0w9gqxbj9cfpi6isvfv7as14scwfjblmfsm0cxyfs43a8nd7s22g"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-abscissa-core" ,rust-abscissa-core-0.8)
("rust-aho-corasick" ,rust-aho-corasick-1)
("rust-anyhow" ,rust-anyhow-1)
("rust-bytes" ,rust-bytes-1)
("rust-bytesize" ,rust-bytesize-1)
("rust-cached" ,rust-cached-0.54)
("rust-chrono" ,rust-chrono-0.4)
("rust-clap" ,rust-clap-4)
("rust-clap-complete" ,rust-clap-complete-4)
("rust-comfy-table" ,rust-comfy-table-7)
("rust-conflate" ,rust-conflate-0.3)
("rust-convert-case" ,rust-convert-case-0.6)
("rust-crossterm" ,rust-crossterm-0.28)
("rust-ctrlc" ,rust-ctrlc-3)
("rust-dateparser" ,rust-dateparser-0.2)
("rust-dav-server" ,rust-dav-server-0.7)
("rust-derive-more" ,rust-derive-more-1)
("rust-dialoguer" ,rust-dialoguer-0.11)
("rust-directories" ,rust-directories-5)
("rust-displaydoc" ,rust-displaydoc-0.2)
("rust-flate2" ,rust-flate2-1)
("rust-fuse-mt" ,rust-fuse-mt-0.6)
("rust-futures" ,rust-futures-0.3)
("rust-gethostname" ,rust-gethostname-0.5)
("rust-globset" ,rust-globset-0.4)
("rust-human-panic" ,rust-human-panic-2)
("rust-humantime" ,rust-humantime-2)
("rust-indicatif" ,rust-indicatif-0.17)
("rust-itertools" ,rust-itertools-0.13)
("rust-jaq-core" ,rust-jaq-core-2)
("rust-jaq-json" ,rust-jaq-json-1)
("rust-jaq-std" ,rust-jaq-std-2)
("rust-jemallocator-global" ,rust-jemallocator-global-0.3)
("rust-libc" ,rust-libc-0.2)
("rust-log" ,rust-log-0.4)
("rust-mimalloc" ,rust-mimalloc-0.1)
("rust-open" ,rust-open-5)
("rust-ratatui" ,rust-ratatui-0.29)
("rust-rhai" ,rust-rhai-1)
("rust-rustic-backend" ,rust-rustic-backend-0.5)
("rust-rustic-core" ,rust-rustic-core-0.7)
("rust-scopeguard" ,rust-scopeguard-1)
("rust-self-update" ,rust-self-update-0.39)
("rust-semver" ,rust-semver-1)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-serde-with" ,rust-serde-with-3)
("rust-simplelog" ,rust-simplelog-0.12)
("rust-tar" ,rust-tar-0.4)
("rust-thiserror" ,rust-thiserror-2)
("rust-tokio" ,rust-tokio-1)
("rust-toml" ,rust-toml-0.8)
("rust-tui-textarea" ,rust-tui-textarea-0.7)
("rust-warp" ,rust-warp-0.3)
("rust-zip" ,rust-zip-2))
#:cargo-development-inputs (("rust-abscissa-core" ,rust-abscissa-core-0.8)
("rust-assert-cmd" ,rust-assert-cmd-2)
("rust-cfg-if" ,rust-cfg-if-1)
("rust-dircmp" ,rust-dircmp-0.2)
("rust-flate2" ,rust-flate2-1)
("rust-insta" ,rust-insta-1)
("rust-predicates" ,rust-predicates-3)
("rust-pretty-assertions" ,rust-pretty-assertions-1)
("rust-quickcheck" ,rust-quickcheck-1)
("rust-quickcheck-macros" ,rust-quickcheck-macros-1)
("rust-rstest" ,rust-rstest-0.23)
("rust-rustic-testing" ,rust-rustic-testing-0.3)
("rust-tar" ,rust-tar-0.4)
("rust-tempfile" ,rust-tempfile-3)
("rust-toml" ,rust-toml-0.8))))
(native-inputs (list pkg-config))
(inputs (list (list zstd "lib")))
(home-page "https://rustic.cli.rs/")
(synopsis "rustic - fast, encrypted, deduplicated backups powered by Rust")
(description "This package provides rustic - fast, encrypted, deduplicated backups powered by Rust.")
(license (list license:asl2.0 license:expat))))
rust-rustic-rs-0.9
rust-rustic-rs-0.9

View file

@ -1,16 +1,14 @@
(define-module (glicid packages base))
(use-modules (guix packages) (gnu packages cpp) (gnu packages base) (gnu packages pcre))
(define-module (glicid packages base)
#:use-module (guix packages)
#:use-module (gnu packages cpp)
#:use-module (gnu packages base)
#:use-module (gnu packages pcre)
)
(define-public grep-glicid
(package
(inherit grep)
(name "grep-glicid")
(inputs (list pcre2))
(arguments
`(#:configure-flags
(list "--enable-perl-regexp")
))))
grep-glicid
(package
(inherit grep)
(name "grep-glicid")
(inputs (list pcre2))
(arguments
`(#:configure-flags (list "--enable-perl-regexp") ))))

View file

@ -1,115 +1,77 @@
(define-module (glicid packages benchmark)
#:use-module (guix build-system gnu)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (guix packages)
#:use-module ((gnu packages benchmark)
#:prefix gnu:)
#:use-module (gnu packages commencement)
#:use-module (gnu packages compression)
#:use-module (gnu packages mpi)
#:use-module (glicid packages mpi)
#:use-module (glicid packages gcc)
#:use-module (glicid utils))
#:use-module (guix build-system gnu)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module ((gnu packages benchmark) #:prefix gnu:)
#:use-module (gnu packages commencement)
#:use-module (gnu packages compression)
#:use-module (gnu packages mpi)
#:use-module (glicid packages mpi)
#:use-module (glicid packages gcc)
#:use-module (glicid utils)
)
(define-public intel-mpi-benchmarks/openmpi-2021.3
(package
(inherit gnu:intel-mpi-benchmarks/openmpi)
(name "intel-mpi-benchmarks-upstream")
(version "2021.3")
(source (origin
(inherit (package-source gnu:intel-mpi-benchmarks/openmpi))
(method git-fetch)
(uri (git-reference
(url "https://github.com/intel/mpi-benchmarks")
(commit (string-append "IMB-v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"04kczch2hlfzbgk929vcxx480kc6raba8rbz246j7d26k1z1zh8h"))))))
;(define-public intel-mpi-benchmarks/openmpi-2021.3-libfabric-rdma
; (transform-package (
; (instead-of "openmpi" openmpi-glicid-waves)
; intel-mpi-benchmarks/openmpi-2021.3
; ) "fab+rdma+ucx+psm2")
;)
;(define intel-mpi-benchmark-transform-gcc-11
; (gcc11-instead-of-gcc intel-mpi-benchmarks/openmpi-2021.3-libfabric-rdma)
;)
;(define intel-mpi-benchmarks/openmpi-2021.3-gcc-11
; (package
; (inherit intel-mpi-benchmark-transform-gcc-11)
; (version (string-append (package-version intel-mpi-benchmark-transform-gcc-11) "-gcc-11" ))
; )
;)
;(define-public intel-mpi-benchmarks/openmpi-2021.3-waves
; (transform-package ((instead-of "openmpi" openmpi-glicid-waves)
; intel-mpi-benchmarks/openmpi-2021.3) "waves"))
(package
(inherit gnu:intel-mpi-benchmarks/openmpi)
(name "intel-mpi-benchmarks-upstream")
(version "2021.3")
(source (origin
(inherit (package-source gnu:intel-mpi-benchmarks/openmpi))
(method git-fetch)
(uri (git-reference
(url "https://github.com/intel/mpi-benchmarks")
(commit (string-append "IMB-v" version))))
(file-name (git-file-name name version))
(sha256 (base32 "04kczch2hlfzbgk929vcxx480kc6raba8rbz246j7d26k1z1zh8h"))))))
(define-public stream-benchmarks
(package
(name "stream-benchmarks")
(version "5.10-jh")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/jeffhammond/STREAM.git")
(commit "HEAD")))
(sha256
(base32
"1b5ka2h6rhp2103app6p0vq29y7qixcli9w874hb33y05ggjin8m"))
(file-name (string-append name "-" version "-checkout"))))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(delete 'configure) ;no configure
(delete 'check) ;no check
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
;; Le Makefile du paquet ne fournit pas de règle « install »
;; alors on le fait nous-mêmes.
(let ((bin (string-append (assoc-ref outputs "out")
"/bin")))
(install-file "stream_c.exe" bin)
(install-file "stream_f.exe" bin) #t))))))
(inputs `(("gfortran-toolchain" ,gfortran-toolchain)))
(synopsis "STREAM benchmark")
(description "STREAM benchmark")
(home-page "https://")
(license license:gpl2+) ;check…
))
;;defined by gricad / PA Boutier
(package
(name "stream-benchmarks")
(version "5.10-jh")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/jeffhammond/STREAM.git")
(commit "HEAD")))
(sha256 (base32 "1b5ka2h6rhp2103app6p0vq29y7qixcli9w874hb33y05ggjin8m"))
(file-name (string-append name "-" version "-checkout"))))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(delete 'configure)
(delete 'check)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out")
"/bin")))
(install-file "stream_c.exe" bin)
(install-file "stream_f.exe" bin) #t))))))
(inputs `(("gfortran-toolchain" ,gfortran-toolchain)))
(synopsis "STREAM benchmark")
(description "STREAM benchmark")
(home-page "https://")
(license license:gpl2+)))
(define-public osu-benchmarks
(package
(name "osu-benchmarks")
(version "5.8")
(source (origin
(method url-fetch)
(uri (string-append
"https://mvapich.cse.ohio-state.edu/download/mvapich/osu-micro-benchmarks-"
version ".tgz"))
(sha256
(base32
"19a4wg0msipibkxsi8i0c34d07512yfaj2k37dxg5541ysdw690f"))))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-after 'unpack 'setenv
(lambda _
(setenv "CC"
(which "mpicc"))
(setenv "CXX"
(which "mpic++")) #t)))))
(propagated-inputs `(("openmpi" ,openmpi)))
(synopsis "OSU micro benchmarks")
(description "OSU micro benchmark for mpi")
(home-page "https://mvapich.cse.ohio-state.edu/benchmarks/")
(license license:gpl2+)))
(package
(name "osu-benchmarks")
(version "5.8")
(source (origin
(method url-fetch)
(uri (string-append "https://mvapich.cse.ohio-state.edu/download/mvapich/osu-micro-benchmarks-" version ".tgz"))
(sha256 (base32 "19a4wg0msipibkxsi8i0c34d07512yfaj2k37dxg5541ysdw690f"))))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-after 'unpack 'setenv
(lambda _
(setenv "CC" (which "mpicc"))
(setenv "CXX" (which "mpic++")) #t)))))
(propagated-inputs `(("openmpi" ,openmpi)))
(synopsis "OSU micro benchmarks")
(description "OSU micro benchmark for mpi")
(home-page "https://mvapich.cse.ohio-state.edu/benchmarks/")
(license license:gpl2+)))

View file

@ -12,7 +12,6 @@
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages golang-xyz)
)
(define %caddy-version "2.9.1")
@ -70,76 +69,71 @@
(license license:expat)))
(define-public go-github-com-akavel-rsrc
(package
(name "go-github-com-akavel-rsrc")
(version "0.10.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/akavel/rsrc")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1frdxqdnk923p4245lk0wwqrxsdy8aj2qxl3m0zfgnh02vfz3hs2"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/akavel/rsrc"))
(home-page "https://github.com/akavel/rsrc")
(synopsis #f)
(description #f)
(license license:expat)))
(package
(name "go-github-com-akavel-rsrc")
(version "0.10.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/akavel/rsrc")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (base32 "1frdxqdnk923p4245lk0wwqrxsdy8aj2qxl3m0zfgnh02vfz3hs2"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/akavel/rsrc"))
(home-page "https://github.com/akavel/rsrc")
(synopsis #f)
(description #f)
(license license:expat)))
(define-public go-github-com-josephspurrier-goversioninfo
(package
(name "go-github-com-josephspurrier-goversioninfo")
(version "1.4.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/josephspurrier/goversioninfo")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "02nqhkvsxi69ny64j81x1k142fir2ps68fypi3z2hr4wd3x4i1l9"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/josephspurrier/goversioninfo"))
(propagated-inputs (list go-github-com-stretchr-testify
go-github-com-akavel-rsrc))
(home-page "https://github.com/josephspurrier/goversioninfo")
(synopsis "GoVersionInfo")
(description
"Package goversioninfo creates a syso file which contains Microsoft Version
Information and an optional icon.")
(license license:expat)))
(package
(name "go-github-com-josephspurrier-goversioninfo")
(version "1.4.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/josephspurrier/goversioninfo")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (base32 "02nqhkvsxi69ny64j81x1k142fir2ps68fypi3z2hr4wd3x4i1l9"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/josephspurrier/goversioninfo"))
(propagated-inputs (list go-github-com-stretchr-testify
go-github-com-akavel-rsrc))
(home-page "https://github.com/josephspurrier/goversioninfo")
(synopsis "GoVersionInfo")
(description "Package goversioninfo creates a syso file which contains Microsoft Version
Information and an optional icon.")
(license license:expat)))
(define-public go-github-com-caddyserver-xcaddy
(package
(name "go-github-com-caddyserver-xcaddy")
(version "0.4.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/caddyserver/xcaddy")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1452m1wksxmhy00rdkpnh55y8bxyxxcldapvp0fzpsyv82kfmsz1"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/caddyserver/xcaddy"))
(propagated-inputs (list go-github-com-josephspurrier-goversioninfo
go-github-com-google-shlex
go-github-com-masterminds-semver-v3))
(home-page "https://github.com/caddyserver/xcaddy")
(synopsis "- Custom Caddy Builder")
(description
"This command line tool and associated Go package makes it easy to make custom
builds of the @@url{https://github.com/caddyserver/caddy,Caddy Web Server}.")
(license license:asl2.0)))
(package
(name "go-github-com-caddyserver-xcaddy")
(version "0.4.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/caddyserver/xcaddy")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (base32 "1452m1wksxmhy00rdkpnh55y8bxyxxcldapvp0fzpsyv82kfmsz1"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/caddyserver/xcaddy"))
(propagated-inputs (list go-github-com-josephspurrier-goversioninfo
go-github-com-google-shlex
go-github-com-masterminds-semver-v3))
(home-page "https://github.com/caddyserver/xcaddy")
(synopsis "- Custom Caddy Builder")
(description "This command line tool and associated Go package makes it easy to make custom
builds of the @@url{https://github.com/caddyserver/caddy,Caddy Web Server}.")
(license license:asl2.0)))

View file

@ -1,620 +0,0 @@
(define-module (glicid packages clam)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (gnu packages linux)
#:use-module (gnu packages virtualization)
#:use-module (gnu packages storage)
#:use-module (gnu packages gcc)
#:use-module (glicid packages glicid)
#:use-module (guix build-system python)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (guix git-download)
#:use-module (gnu packages python)
#:use-module (guix build-system python)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages check)
#:use-module (guix build-system copy)
#:use-module (gnu packages django)
#:use-module (gnu packages time)
#:use-module (gnu packages databases)
#:use-module (gnu packages python-build) ;setup-tools moved here.
)
;(define-public python-pytest-runner-4.5.1
; (package
; (name "python-pytest-runner")
; (version "4.5.1")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "pytest-runner" version))
; (sha256
; (base32
; "1vzilbayx5mznsdm1r258m3616374p6kvhsbj4j6238j9djkvjyi"))))
; (build-system python-build-system)
; (arguments
; '(;; FIXME: The test suite requires 'python-flake8' and 'python-black',
; ;; but that introduces a circular dependency.
; #:tests? #f
; #:phases (modify-phases %standard-phases
; (replace 'check
; (lambda* (#:key tests? #:allow-other-keys)
; (if tests?
; (invoke "pytest" "-vv")
; (format #t "test suite not run~%"))
; #t)))))
; (native-inputs
; `(("python-setuptools-scm" ,python-setuptools-scm)))
; (home-page "https://github.com/pytest-dev/pytest-runner")
; (synopsis "Invoke py.test as a distutils command")
; (description
; "This package provides a @command{pytest-runner} command that
;@file{setup.py} files can use to run tests.")
; (license license:expat)))
;
;(define-public python-keycloak-client-0.2.3
;(package
; (name "python-keycloak-client")
; (version "0.2.3")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "python-keycloak-client" version))
; (sha256
; (base32
; "0gw6wj1rlacfpgbp4b2wyp68ccrh713438qjpv11x6bnlcnf52x3"))))
; (build-system python-build-system) ;; FIXME: Tests require specific "pytest",
; ;; we don't have it for the moment.
; (arguments
; '(#:tests? #f))
;
;
; (propagated-inputs
; `(("python-jose" ,python-jose)
; ("python-pytest-runner-4.5.1", python-pytest-runner-4.5.1)
; ("python-requests" ,python-requests)))
; (native-inputs
; `(("python-bumpversion" ,python-bumpversion)
; ("python-pytest-runner-4.5.1", python-pytest-runner-4.5.1)
; ("python-twine" ,python-twine)))
; (home-page
; "https://github.com/Peter-Slump/python-keycloak-client")
; (synopsis "Install Python Keycloak client.")
; (description "Install Python Keycloak client.")
; (license license:expat))
;
;)
;
;
;(define-public glicid-django-keycloak
; (package
; (name "glicid-django-keycloak")
; (version "v0.1.2-bird")
; (source
; (origin
; (method git-fetch)
; (uri
; (git-reference
; (url "https://oauth2:glpat-RsX2GjsD2WrzXubiJeou@gitlab.univ-nantes.fr/CCIPL/stages/2021/django-keycloak.git") (commit version)
; )
; )
;
; (file-name (git-file-name name version))
; (sha256
; (base32
; "0l380q6z504nndjl15cb5lkghpmm6f3rs4bgwy8sx5s12xz2sbck"
; )
; )
; )
; )
;
; (build-system python-build-system)
; ;; XXX: The git repository has no tags, and the PyPI releases do not
; ;; contain tests.
; (arguments '(#:tests? #f))
; (native-inputs `(("python-keycloak-client" , python-keycloak-client-0.2.3)
; ("python-ecdsa", python-ecdsa)
; ))
; (home-page "https://blabla")
; (synopsis "blabla")
; (description
; "This package provides a single-file minifier for CSS, HTML, and JavaScript.")
; ;; XXX: The README just says "GNU GPL and GNU LGPL and MIT". From
; ;; <https://github.com/juancarlospaco/css-html-js-minify/issues/9> it
; ;; looks like the user can choose a license.
; (license (list license:gpl3+ license:lgpl3+ license:expat))
;
; )
;)
;
;
;(define-public python-django-autocomplete-light
;(package
; (name "python-django-autocomplete-light")
; (version "3.8.2")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "django-autocomplete-light" version))
; (sha256
; (base32
; "145snirk0a7bgcgwisn5fzmb0w4m88zf6r55m2biz3wsnmqymw15"))))
; (build-system python-build-system)
; (arguments '(#:tests? #f)) ; pb with django ?
; (native-inputs `(("python-django", python-django)))
; (propagated-inputs `(("python-six" ,python-six)))
; (home-page
; "http://django-autocomplete-light.rtfd.org")
; (synopsis "Fresh autocompletes for Django")
; (description "Fresh autocompletes for Django")
; (license license:expat))
;)
;
;(define-public python-django-icons
;
;(package
; (name "python-django-icons")
; (version "4.0.0")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "django-icons" version))
; (sha256
; (base32
; "06r0d68qknqa7p44nss6wzdcawakyr7ildgyl6mp5md9xb8klbah"))))
; (build-system python-build-system)
; (arguments '(#:tests? #f)) ; django pb
; (propagated-inputs
; `(("python-django" ,python-django)
; ("python-importlib-metadata"
; ,python-importlib-metadata)))
; (home-page
; "https://github.com/zostera/django-icons")
; (synopsis "Icons for Django")
; (description "Icons for Django")
; (license #f))
;
;)
;
;(define-public python-django-admin-row-actions
;(package
; (name "python-django-admin-row-actions")
; (version "0.0.5")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "django-admin-row-actions" version))
; (sha256
; (base32
; "0rz71a54lj73wfi56flfh5m5fi7ah1cl8fph1h8y386s0am8plpz"))))
; (build-system python-build-system)
;
; (native-inputs `(("python-django", python-django)))
; (arguments '(#:tests? #f)) ; iteration problem
;
; (propagated-inputs `(("python-six" ,python-six)))
; (home-page
; "https://github.com/DjangoAdminHackers/django-admin-row-actions")
; (synopsis "django admin row actions")
; (description "django admin row actions")
; (license #f))
;)
;
;(define-public python-django-bootstrap4
;(package
; (name "python-django-bootstrap4")
; (version "3.0.1")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "django-bootstrap4" version))
; (sha256
; (base32
; "0azcalm95yh713fm1bmsqd73iz53fhmyajsg3fly6mmvffs7zjf5"))))
; (build-system python-build-system)
; (native-inputs `(("python-django", python-django)))
;(arguments '(#:tests? #f)) ; gdal not found.
; (propagated-inputs
; `(("python-beautifulsoup4" ,python-beautifulsoup4)
; ("python-django" ,python-django)
; ("python-importlib-metadata"
; ,python-importlib-metadata)))
; (home-page
; "https://github.com/zostera/django-bootstrap4")
; (synopsis "Bootstrap 4 for Django")
; (description "Bootstrap 4 for Django")
; (license #f))
;
;
;
;)
;
;(define-public python-django-mathfilters
;(package
; (name "python-django-mathfilters")
; (version "1.0.0")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "django-mathfilters" version))
; (sha256
; (base32
; "01sbnrznai6sz4w4qs7ld35039l7q5wh5zawwy1kd2gwdppr5f69"))))
; (build-system python-build-system)
; (native-inputs `(("python-django", python-django)))
;; (arguments '(#:tests? #f)) ; iteration problem
; (home-page
; "https://github.com/dbrgn/django-mathfilters")
; (synopsis
; "A set of simple math filters for Django")
; (description
; "A set of simple math filters for Django")
; (license license:expat))
;
;)
;
;(define-public python-tablib
;(package
; (name "python-tablib")
; (version "3.0.0")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "tablib" version))
; (sha256
; (base32
; "03f1z6jq6rf67gwhbm9ma4rydm8h447a5nh5lcs5l8jg8l4aqg7q"))))
; (build-system python-build-system)
;; (arguments '(#:tests? #f)) ; need setuptools ?
; (native-inputs `(("python-setuptools-scm", python-setuptools-scm)))
; (home-page "https://tablib.readthedocs.io")
; (synopsis
; "Format agnostic tabular data library (XLS, JSON, YAML, CSV)")
; (description
; "Format agnostic tabular data library (XLS, JSON, YAML, CSV)")
; (license license:expat))
;
;
;)
;
;(define-public python-markuppy
;
;(package
; (name "python-markuppy")
; (version "1.14")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "MarkupPy" version))
; (sha256
; (base32
; "0pqdmpxbr8iq22b4css2gz5z6s01ddpzyj25x27kgbs2lp0f5phs"))))
; (build-system python-build-system)
; (home-page
; "https://github.com/tylerbakke/MarkupPy")
; (synopsis "An HTML/XML generator")
; (description "An HTML/XML generator")
; (license license:expat))
;
;
;)
;
;(define-public python-xlwt
;(package
; (name "python-xlwt")
; (version "1.3.0")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "xlwt" version))
; (sha256
; (base32
; "123c2pdamshkq75wwvck8fq0cjq1843xd3x9qaiz2a4vg9qi56f5"))))
; (build-system python-build-system)
; (arguments '(#:tests? #f)) ; code error
; (home-page "http://www.python-excel.org/")
; (synopsis "Library to create spreadsheet files compatible with MS Excel 97/2000/XP/2003 XLS files, on any platform, with Python 2.6, 2.7, 3.3+")
; (description "Library to create spreadsheet files compatible with MS Excel 97/2000/XP/2003 XLS files, on any platform, with Python 2.6, 2.7, 3.3+")
; (license license:bsd-3))
;
;)
;
;(define-public python-django-import-export
;(package
; (name "python-django-import-export")
; (version "2.5.0")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "django-import-export" version))
; (sha256
; (base32
; "0j0gsj18bkkmbn262qj2syla80vncvqn49bllwxvcgw0zhxh1763"))))
; (build-system python-build-system)
; (arguments '(#:tests? #f)) ; django error
; (native-inputs `(("python-markuppy", python-markuppy)
; ("python-odfpy",python-odfpy)
; ("python-xlwt",python-xlwt)
; ("python-xlrd",python-xlrd)
; ("python-pyyaml",python-pyyaml)
; ("python-openpyxl",python-openpyxl)
; ))
; (propagated-inputs
; `(("python-diff-match-patch"
; ,python-diff-match-patch)
; ("python-django" ,python-django)
; ("python-tablib" ,python-tablib)
; ))
; (home-page
; "https://github.com/django-import-export/django-import-export")
; (synopsis
; "Django application and library for importing and exporting data with included admin integration.")
; (description
; "Django application and library for importing and exporting data with included admin integration.")
; (license license:bsd-3))
;
;
;)
;
;(define-public python-django-timezone-field
;(package
; (name "python-django-timezone-field")
; (version "4.1.2")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "django-timezone-field" version))
; (sha256
; (base32
; "1pxrs6mkayr2rqxj8q4wdfrdhw1dnzvwkacajdjy6q6ha8jcdyng"))))
; (build-system python-build-system)
; (arguments '(#:tests? #f)) ; needs rest-framework ?
; (propagated-inputs
; `(("python-django" ,python-django)
; ("python-pytz" ,python-pytz)))
; (home-page
; "http://github.com/mfogel/django-timezone-field/")
; (synopsis
; "A Django app providing database and form fields for pytz timezone objects.")
; (description
; "A Django app providing database and form fields for pytz timezone objects.")
; (license license:bsd-3))
;
;
;)
;
;
;(define-public python-crontab
;(package
; (name "python-crontab")
; (version "2.5.1")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "python-crontab" version))
; (sha256
; (base32
; "0cccrqc10r8781ba81x8r2frs3pl2m4hkm599k5358ak0xr7xgjb"))))
; (build-system python-build-system)
; (arguments '(#:tests? #f)) ; AssertionError: 2 != 0 : Windows shell command not found!
;
; (propagated-inputs
; `(("python-dateutil" ,python-dateutil)))
; (home-page
; "https://gitlab.com/doctormo/python-crontab/")
; (synopsis "Python Crontab API")
; (description "Python Crontab API")
; (license #f))
;
;
;)
;
;(define-public python-click-repl
;
;(package
; (name "python-click-repl")
; (version "0.1.6")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "click-repl" version))
; (sha256
; (base32
; "1mcmz95595nrp4r58spy1ac993db26hk4q97isghbmn4md99vwmr"))))
; (build-system python-build-system)
; (propagated-inputs
; `(("python-click" ,python-click)
; ("python-prompt-toolkit" ,python-prompt-toolkit)
; ("python-six" ,python-six)))
; (home-page
; "https://github.com/untitaker/click-repl")
; (synopsis "REPL plugin for Click")
; (description "REPL plugin for Click")
; (license license:expat))
;)
;
;
;(define-public python-click-didyoumean
;
;(package
; (name "python-click-didyoumean")
; (version "0.0.3")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "click-didyoumean" version))
; (sha256
; (base32
; "1svaza5lpvdbmyrx5xi0riqzq4hb9wnlpqrg6r8zy14pbi42j8hi"))))
; (build-system python-build-system)
; (propagated-inputs
; `(("python-click" ,python-click)))
; (home-page
; "https://github.com/timofurrer/click-didyoumean")
; (synopsis
; "Enable git-like did-you-mean feature in click.")
; (description
; "Enable git-like did-you-mean feature in click.")
; (license #f))
;
;)
;
;(define-public python-pytest-celery
;
;(package
; (name "python-pytest-celery")
; (version "0.0.0")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "pytest-celery" version))
; (sha256
; (base32
; "01pli108qqiiyrn8qsqqabcpazrzj27r7cji9wgglsk76by61l6g"))))
; (build-system python-build-system)
; (propagated-inputs
; `(("python-celery" ,python-celery-5.1.0)))
; (home-page
; "https://github.com/graingert/pytest-celery")
; (synopsis
; "pytest-celery a shim pytest plugin to enable celery.contrib.pytest")
; (description
; "pytest-celery a shim pytest plugin to enable celery.contrib.pytest")
; (license license:bsd-3))
;
;)
;
;(define-public python-celery-5.1.0
;
;(package
; (name "python-celery")
; (version "5.1.0")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "celery" version))
; (sha256
; (base32
; "110ix1h9axnc5dwzyswi1cvypzbr38p1jb1msyf1ikvq8p063w35"))))
; (build-system python-build-system)
; (arguments '(#:tests? #f)) ; circular depedency
; (propagated-inputs
; `(("python-billiard" ,python-billiard)
; ("python-click" ,python-click)
; ("python-click-didyoumean"
; ,python-click-didyoumean)
; ("python-click-plugins" ,python-click-plugins)
; ("python-click-repl" ,python-click-repl)
; ("python-kombu" ,python-kombu)
; ("python-pytz" ,python-pytz)
; ("python-setuptools" ,python-setuptools)
; ("python-vine" ,python-vine)))
; ; (native-inputs
; ; `(("python-pytest-celery" ,python-pytest-celery))) ;; circular depedency !!
; (home-page "http://celeryproject.org")
; (synopsis "Distributed Task Queue.")
; (description "Distributed Task Queue.")
; (license license:bsd-3))
;
;)
;
;(define-public python-django-celery-beat
;
;(package
; (name "python-django-celery-beat")
; (version "2.2.0")
; (source
; (origin
; (method url-fetch)
; (uri (pypi-uri "django-celery-beat" version))
; (sha256
; (base32
; "0hx5ig1g0naagkmh39xbb64hhckd3b3pm12g9z03zig72pxkm8dq"))))
; (build-system python-build-system)
; (arguments '(#:tests? #f)) ; needs much more up to date python-vine
;
; ; (native-inputs `(("python-vine", python-vine)))
; (propagated-inputs
; `(("python-celery" ,python-celery-5.1.0)
; ("python-crontab" ,python-crontab)
; ("python-django" ,python-django)
; ("python-django-timezone-field"
; ,python-django-timezone-field)))
; (home-page
; "https://github.com/celery/django-celery-beat")
; (synopsis "Database-backed Periodic Tasks.")
; (description "Database-backed Periodic Tasks.")
; (license license:bsd-3))
;
;)
;
;(define-public glicid-clam
; (package
; (name "glicid-clam")
; (version "v0.0.1")
; (source
; (origin
; (method git-fetch)
; (uri
; (git-reference
; (url "https://oauth2:glpat-RsX2GjsD2WrzXubiJeou@gitlab.univ-nantes.fr/CCIPL/stages/2021/cluster_account_manager.git") (commit version)
; )
; )
;
; (file-name (git-file-name name version))
; (sha256
; (base32
; "1x8q8wfl3p430dw8cawvfw4a4jjqw80gdg6zm90wmiad1f1lgd6r"
; )
; )
; )
; )
;; (build-system python-build-system)
; (build-system copy-build-system)
; ;; XXX: The git repository has no tags, and the PyPI releases do not
; ;; contain tests.
; (arguments '(
;
;;#:tests? #f
;; #:use-setuptools? #f ; uses custom distutils 'install' command
; #:phases
; (modify-phases %standard-phases
; (add-before 'reset-gzip-timestamps 'make-files-writable
; (lambda* (#:key outputs #:allow-other-keys)
; (let ((out (assoc-ref outputs "out")))
; (for-each make-file-writable
; (find-files out "\\.gz$"))
; #t))))))
;; )
;; )
; (propagated-inputs `(("python-keycloak-client" , python-keycloak-client-0.2.3)
; ("python-ecdsa", python-ecdsa)
; ("python-django", python-django)
; ("python-celery", python-celery-5.1.0)
; ("python-django-auth-ldap",python-django-auth-ldap)
; ("python-django-autocomplete-light",python-django-autocomplete-light)
; ("python-django-admin-row-actions", python-django-admin-row-actions)
; ("python-django-bootstrap4",python-django-bootstrap4)
; ("python-django-icons",python-django-icons)
; ("python-django-mathfilters",python-django-mathfilters)
; ("python-django-import-export",python-django-import-export)
; ("python-django-celery-beat",python-django-celery-beat)
; ("python-psycopg2",python-psycopg2)
; ("python-magic",python-magic)
;
; ))
; (home-page "https://blabla")
; (synopsis "blabla")
; (description
; "This package provides a single-file minifier for CSS, HTML, and JavaScript.")
; ;; XXX: The README just says "GNU GPL and GNU LGPL and MIT". From
; ;; <https://github.com/juancarlospaco/css-html-js-minify/issues/9> it
; ;; looks like the user can choose a license.
; (license (list license:gpl3+ license:lgpl3+ license:expat))
;
; )
;)

View file

@ -1,39 +1,31 @@
(define-module (glicid packages cluster)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (gnu packages networking)
#:use-module ((gnu packages cluster)
#:prefix gnu:)
#:use-module (glicid utils))
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (gnu packages networking)
#:use-module ((gnu packages cluster)
#:prefix gnu:)
#:use-module (glicid utils))
(define-public keepalived-upstream-2.2.8
(package
(inherit gnu:keepalived)
(name "keepalived-upstream")
(version "2.2.8")
(source (origin
(method url-fetch)
(uri (string-append
"http://www.keepalived.org/software/keepalived-" version
".tar.gz"))
(sha256
(base32
"1dhvg9x976k4nnygxyv2gr55jfd88459kgiiqva9bwvl56v2x245"))))))
(package
(inherit gnu:keepalived)
(name "keepalived-upstream")
(version "2.2.8")
(source (origin
(method url-fetch)
(uri (string-append "http://www.keepalived.org/software/keepalived-" version ".tar.gz"))
(sha256 (base32 "1dhvg9x976k4nnygxyv2gr55jfd88459kgiiqva9bwvl56v2x245"))))))
(define-public keepalived-upstream-2.3.1
(package
(inherit gnu:keepalived)
(name "keepalived-upstream")
(version "2.3.1")
(source (origin
(method url-fetch)
(uri (string-append
"http://www.keepalived.org/software/keepalived-" version
".tar.gz"))
(sha256
(base32
"18raqq15xxf5hlrqhk39prq9xdfiv9px2nlrs43273lrzndvdx4j"))))))
(package
(inherit gnu:keepalived)
(name "keepalived-upstream")
(version "2.3.1")
(source (origin
(method url-fetch)
(uri (string-append "http://www.keepalived.org/software/keepalived-" version ".tar.gz"))
(sha256 (base32 "18raqq15xxf5hlrqhk39prq9xdfiv9px2nlrs43273lrzndvdx4j"))))))
(define local:keepalived
@ -42,13 +34,13 @@
(latest-version local:keepalived gnu:keepalived))
(define-public keepalived-glicid
(package
(inherit keepalived-latest)
(name "keepalived-glicid")
(version (string-append (package-version keepalived-latest) "-glicid"))
(arguments
`(#:configure-flags (list (string-append "--enable-snmp")
(string-append "--enable-snmp-checker")
(string-append "--enable-snmp-rfc"))))
(inputs (modify-inputs (package-inputs keepalived-latest)
(prepend net-snmp)))))
(package
(inherit keepalived-latest)
(name "keepalived-glicid")
(version (string-append (package-version keepalived-latest) "-glicid"))
(arguments
`(#:configure-flags (list (string-append "--enable-snmp")
(string-append "--enable-snmp-checker")
(string-append "--enable-snmp-rfc"))))
(inputs (modify-inputs (package-inputs keepalived-latest)
(prepend net-snmp)))))

View file

@ -37,5 +37,4 @@
(substitute* "Makefile" (("install: install.bin install.remote install.man install.systemd") "install: install.bin install.remote install.systemd"))))))
(inputs `(("fuse-overlayfs" ,fuse-overlayfs) ,@(package-inputs gnu:podman)))
(native-inputs (list bats git go-1.20 pkg-config python))
(propagated-inputs (list fuse-overlayfs gnu:slirp4netns iptables))
))
(propagated-inputs (list fuse-overlayfs gnu:slirp4netns iptables))))

View file

@ -1,32 +1,20 @@
(define-module (glicid packages cpp))
(use-modules (guix packages) (gnu packages cpp))
(define-module (glicid packages cpp)
#:use-module (guix packages)
#:use-module (gnu packages cpp)
)
(define-public reproc-with-cpp
(package
(inherit reproc)
(name "reproc-with-cpp")
(arguments
;; No tests.
`(#:tests? #f
;; Build the shared library instead of a static one.
#:configure-flags `("-DBUILD_SHARED_LIBS=1" "-DREPROC++=1")))
))
(package
(inherit reproc)
(name "reproc-with-cpp")
(arguments
`(#:tests? #f
#:configure-flags `("-DBUILD_SHARED_LIBS=1" "-DREPROC++=1")))))
(define-public reproc-with-cpp-static
(package
(inherit reproc)
(name "reproc-with-cpp-static")
(arguments
;; No tests.
`(#:tests? #f
;; Build the shared library instead of a static one.
#:configure-flags `("-DREPROC++=1")))
))
(package
(inherit reproc)
(name "reproc-with-cpp-static")
(arguments
`(#:tests? #f
#:configure-flags `("-DREPROC++=1")))))

File diff suppressed because it is too large Load diff

View file

@ -1,110 +1,104 @@
(define-module (glicid packages cups)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages autotools)
#:use-module (gnu packages avahi)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
#:use-module (gnu packages fonts) ; font-dejavu
#:use-module (gnu packages fontutils)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages glib)
#:use-module (gnu packages groff)
#:use-module (gnu packages image)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
#:use-module (gnu packages pdf)
#:use-module (gnu packages perl)
#:use-module (gnu packages photo)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages polkit)
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages scanner)
#:use-module (gnu packages tls)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (srfi srfi-1)
#:use-module (ice-9 match)
#:use-module (gnu packages cups)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages scanner)
#:use-module (gnu packages time)
#:use-module (gnu packages tls)
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages autotools)
#:use-module (gnu packages avahi)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
#:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages glib)
#:use-module (gnu packages groff)
#:use-module (gnu packages image)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
#:use-module (gnu packages pdf)
#:use-module (gnu packages perl)
#:use-module (gnu packages photo)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages polkit)
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages scanner)
#:use-module (gnu packages tls)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (srfi srfi-1)
#:use-module (ice-9 match)
#:use-module (gnu packages cups)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages scanner)
#:use-module (gnu packages time)
#:use-module (gnu packages tls)
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
)
(define-public gutenprint
(package
(name "gutenprint")
(version "5.3.4")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/gimp-print/" name "-"
(version-major+minor version) "/" version "/"
name "-" version ".tar.xz"))
(sha256
(base32 "0fq2y9sx37d342fihp1ys9kf4sr2j5nc1kl33j9sirmqs80sfi6v"))))
(build-system gnu-build-system)
(arguments
`(#:test-target "check-parallel"
#:configure-flags (list "--enable-cups-level3-ppds"
"--enable-globalized-cups-ppds"
"--enable-cups-ppds"
"--enable-cups-1_2-enhancements")
#:phases
(modify-phases %standard-phases
(delete 'check) ; works, but takes ages !
(package
(name "gutenprint")
(version "5.3.4")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/gimp-print/" name "-" (version-major+minor version) "/" version "/" name "-" version ".tar.xz"))
(sha256 (base32 "0fq2y9sx37d342fihp1ys9kf4sr2j5nc1kl33j9sirmqs80sfi6v"))))
(build-system gnu-build-system)
(arguments
`(#:test-target "check-parallel"
#:configure-flags (list "--enable-cups-level3-ppds"
"--enable-globalized-cups-ppds"
"--enable-cups-ppds"
"--enable-cups-1_2-enhancements")
#:phases
(modify-phases %standard-phases
(delete 'check)
(add-before 'configure 'fix-paths
(lambda* (#:key outputs native-inputs #:allow-other-keys)
(substitute* "Makefile.in"
(("/usr/bin/time") "time"))
(let ((out (assoc-ref outputs "out")))
(substitute* (find-files "." "^(Makefile|Makefile\\.in|configure)$")
(("^(\\s*)cups_conf_serverbin(\\s*)=(.+)$")
(string-append "cups_conf_serverbin=" out "/lib/cups\n"))
(("^(\\s*)cups_conf_serverroot(\\s*)=(.+)$")
(string-append "cups_conf_serverroot=" out "/etc/cups\n"))
(("^(\\s*)cups_conf_datadir(\\s*)=(.+)$")
(string-append "cups_conf_datadir=" out "/share/cups\n")))
(substitute* "src/cups/Makefile.in"
(("^(\\s*)bindir(\\s*)=(.+)$")
(string-append "bindir = " out "/bin\n"))
(("^(\\s*)sbindir(\\s*)=(.+)$")
(string-append "sbindir = " out "/sbin\n")))
#t))))))
(native-inputs
(list perl
time))
(inputs
(list cups-minimal))
(synopsis "Printer drivers for CUPS")
(description "This package provides printer drivers for CUPS.
This project also maintains an enhanced Print plug-in for GIMP 2.x from
the same code base. This driver supports widespread inkjet printers by major vendors,
including Canon, Epson, Fujitsu, SONY, @dots{}")
(home-page "http://gimp-print.sourceforge.net/")
(license license:gpl2+)))
(add-before 'configure 'fix-paths
(lambda* (#:key outputs native-inputs #:allow-other-keys)
(substitute* "Makefile.in"
(("/usr/bin/time") "time"))
(let ((out (assoc-ref outputs "out")))
(substitute* (find-files "." "^(Makefile|Makefile\\.in|configure)$")
(("^(\\s*)cups_conf_serverbin(\\s*)=(.+)$")
(string-append "cups_conf_serverbin=" out "/lib/cups\n"))
(("^(\\s*)cups_conf_serverroot(\\s*)=(.+)$")
(string-append "cups_conf_serverroot=" out "/etc/cups\n"))
(("^(\\s*)cups_conf_datadir(\\s*)=(.+)$")
(string-append "cups_conf_datadir=" out "/share/cups\n")))
(substitute* "src/cups/Makefile.in"
(("^(\\s*)bindir(\\s*)=(.+)$")
(string-append "bindir = " out "/bin\n"))
(("^(\\s*)sbindir(\\s*)=(.+)$")
(string-append "sbindir = " out "/sbin\n")))
#t))))))
(native-inputs
(list perl
time))
(inputs
(list cups-minimal))
(synopsis "Printer drivers for CUPS")
(description "This package provides printer drivers for CUPS.
This project also maintains an enhanced Print plug-in for GIMP 2.x from
the same code base. This driver supports widespread inkjet printers by major vendors,
including Canon, Epson, Fujitsu, SONY, @dots{}")
(home-page "http://gimp-print.sourceforge.net/")
(license license:gpl2+)))

View file

@ -29,22 +29,21 @@
("pkg-config" ,pkg-config)
,@(package-inputs gnu:postgresql-15)))))
; not yet public as the checks fails on jsonb_jsonpath
(define postgresql-17
(package
(inherit postgresql-16)
(name "postgresql")
(version "17.0")
(source (origin
(method url-fetch)
(uri (string-append "https://ftp.postgresql.org/pub/source/v" version "/postgresql-" version ".tar.bz2"))
(sha256 (base32 "1ph9j60nxwcslpdji4q0snc3932bn8xrpbfvi0jvdmpxq0qn29vy"))))
(inputs `(("icu4c" ,icu4c)
("pkg-config" ,pkg-config)
("bison" ,bison)
("flex" ,flex)
("json-c" ,json-c)
,@(package-inputs postgresql-16)))))
(package
(inherit postgresql-16)
(name "postgresql")
(version "17.0")
(source (origin
(method url-fetch)
(uri (string-append "https://ftp.postgresql.org/pub/source/v" version "/postgresql-" version ".tar.bz2"))
(sha256 (base32 "1ph9j60nxwcslpdji4q0snc3932bn8xrpbfvi0jvdmpxq0qn29vy"))))
(inputs `(("icu4c" ,icu4c)
("pkg-config" ,pkg-config)
("bison" ,bison)
("flex" ,flex)
("json-c" ,json-c)
,@(package-inputs postgresql-16)))))
(define-public timescaledb
(package

View file

@ -36,8 +36,7 @@
(arguments
`(
#:configure-flags
(list "--with-sysroot=/"
(string-append "--with-pkcs11=" (assoc-ref %build-inputs "p11-kit")))
(list "--with-sysroot=/" (string-append "--with-pkcs11=" (assoc-ref %build-inputs "p11-kit")))
#:phases
(modify-phases %standard-phases
(add-after 'strip 'move-to-utils
@ -64,52 +63,52 @@
(define-public rust-hickory-dns-0.24
(package
(name "rust-hickory-dns")
(version "0.24.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hickory-dns" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0lxa0yz7fng4gjbgqcjxfbfsw62lwamgfhzzf44cimi0vmk092yb"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ;Error: No such file or directory (os error 2)
#:cargo-inputs (("rust-clap" ,rust-clap-4)
("rust-futures-util" ,rust-futures-util-0.3)
("rust-hickory-client" ,rust-hickory-client-0.24)
("rust-hickory-proto" ,rust-hickory-proto-0.24)
("rust-hickory-server" ,rust-hickory-server-0.24)
("rust-rustls" ,rust-rustls-0.21)
("rust-time" ,rust-time-0.3)
("rust-tokio" ,rust-tokio-1)
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))
#:features (list "dns-over-https-rustls") ; YD
#:cargo-development-inputs (("rust-hickory-proto" ,rust-hickory-proto-0.24)
("rust-hickory-resolver" ,rust-hickory-resolver-0.24)
("rust-native-tls" ,rust-native-tls-0.2)
("rust-regex" ,rust-regex-1)
("rust-webpki-roots" ,rust-webpki-roots-0.25))))
(inputs (list openssl-3.0)) ;; shouldn't be necessary
(home-page "https://hickory-dns.org/")
(synopsis
"Hickory DNS is a safe and secure DNS server with DNSSEC support.
Eventually this could be a replacement for BIND9. The DNSSEC support allows
for live signing of all records, in it does not currently support
records signed offline. The server supports dynamic DNS with SIG0 authenticated
requests. Hickory DNS is based on the Tokio and Futures libraries, which means
it should be easily integrated into other software that also use those
libraries.
")
(description
"Hickory DNS is a safe and secure DNS server with DNSSEC support. Eventually
this could be a replacement for BIND9. The DNSSEC support allows for live
signing of all records, in it does not currently support records signed offline.
The server supports dynamic DNS with SIG0 authenticated requests. Hickory DNS
is based on the Tokio and Futures libraries, which means it should be easily
integrated into other software that also use those libraries.")
(license (list license:expat license:asl2.0)
)))
(package
(name "rust-hickory-dns")
(version "0.24.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hickory-dns" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0lxa0yz7fng4gjbgqcjxfbfsw62lwamgfhzzf44cimi0vmk092yb"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ;Error: No such file or directory (os error 2)
#:cargo-inputs (("rust-clap" ,rust-clap-4)
("rust-futures-util" ,rust-futures-util-0.3)
("rust-hickory-client" ,rust-hickory-client-0.24)
("rust-hickory-proto" ,rust-hickory-proto-0.24)
("rust-hickory-server" ,rust-hickory-server-0.24)
("rust-rustls" ,rust-rustls-0.21)
("rust-time" ,rust-time-0.3)
("rust-tokio" ,rust-tokio-1)
("rust-tracing" ,rust-tracing-0.1)
("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))
#:features (list "dns-over-https-rustls") ; YD
#:cargo-development-inputs (("rust-hickory-proto" ,rust-hickory-proto-0.24)
("rust-hickory-resolver" ,rust-hickory-resolver-0.24)
("rust-native-tls" ,rust-native-tls-0.2)
("rust-regex" ,rust-regex-1)
("rust-webpki-roots" ,rust-webpki-roots-0.25))))
(inputs (list openssl-3.0)) ;; shouldn't be necessary
(home-page "https://hickory-dns.org/")
(synopsis
"Hickory DNS is a safe and secure DNS server with DNSSEC support.
Eventually this could be a replacement for BIND9. The DNSSEC support allows
for live signing of all records, in it does not currently support
records signed offline. The server supports dynamic DNS with SIG0 authenticated
requests. Hickory DNS is based on the Tokio and Futures libraries, which means
it should be easily integrated into other software that also use those
libraries.
")
(description
"Hickory DNS is a safe and secure DNS server with DNSSEC support. Eventually
this could be a replacement for BIND9. The DNSSEC support allows for live
signing of all records, in it does not currently support records signed offline.
The server supports dynamic DNS with SIG0 authenticated requests. Hickory DNS
is based on the Tokio and Futures libraries, which means it should be easily
integrated into other software that also use those libraries.")
(license (list license:expat license:asl2.0)
)))

View file

@ -1,11 +0,0 @@
(define-module (glicid packages fabric-management)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module ((gnu packages fabric-management)
#:prefix gnu:)
#:use-module (glicid packages linux)
#:use-module (glicid utils)
)
;; obsolete packages deleted

View file

@ -1,99 +1,75 @@
(define-module (glicid packages file-systems)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (gnu packages cyrus-sasl)
#:use-module (gnu packages linux)
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages xml)
#:use-module (gnu packages kerberos)
#:use-module (gnu packages nfs)
#:use-module (gnu packages openldap)
#:use-module (gnu packages tls)
#:use-module (gnu packages bison)
#:use-module (gnu packages flex)
#:use-module (gnu packages flex)
#:use-module (gnu packages pkg-config)
)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (gnu packages cyrus-sasl)
#:use-module (gnu packages linux)
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages xml)
#:use-module (gnu packages kerberos)
#:use-module (gnu packages nfs)
#:use-module (gnu packages openldap)
#:use-module (gnu packages tls)
#:use-module (gnu packages bison)
#:use-module (gnu packages flex)
#:use-module (gnu packages flex)
#:use-module (gnu packages pkg-config)
)
(define-public autofs-glicid
(package
(name "autofs-glicid")
(version "5.1.8")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kernel.org/linux/daemons/autofs/"
"v"
(version-major version)
"/"
"autofs-"
version
".tar.xz"))
(sha256
(base32
"1zf0fgf6kr9amxq5amlgsp1v13sizwl3wvx2xl7b4r2nhmci0gdk"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags (list "--enable-ignore-busy" ;during shutdown
"--enable-sloppy-mount" ;support mount(8) -s
"--with-libtirpc"
(string-append "--with-openldap="
(assoc-ref %build-inputs
"openldap"))
(string-append "--with-sasl="
(assoc-ref %build-inputs
"cyrus-sasl"))
;; "HAVE_SSS_AUTOFS=1" ; required to make sssldir click
;; (string-append "sssldir="
;; (assoc-ref %build-inputs "sssd")
;; "/lib/sssd/modules")
)
#:tests? #f ;no test suite
#:phases (modify-phases %standard-phases
(add-before 'configure 'fix-hard-coded-search-path
(lambda _
(substitute* "configure"
(("^searchpath=\".*\"")
"searchpath=\"$PATH\""))))
(add-before 'configure 'fix-rpath
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* "Makefile.rules"
(("^AUTOFS_LIB_LINK.*=" match)
(string-append match " -Wl,-rpath=" out "/lib"))))))
(add-before 'install 'omit-obsolete-lookup_nis.so-link
;; Building lookup_yp.so depends on $(YPCLNT) but this doesn't,
;; leading to a make error. Since it's broken, comment it out.
(lambda _
(substitute* "modules/Makefile"
(("ln -fs lookup_yp.so" match)
(string-append "# " match))))))))
(native-inputs (list bison flex pkg-config rpcsvc-proto))
(inputs (list cyrus-sasl
e2fsprogs ;for e[234]fsck
libtirpc
libxml2 ;needed for LDAP, SASL
mit-krb5 ;needed for LDAP, SASL
nfs-utils ;for mount.nfs
openldap
openssl ;needed for SASL
;; sssd
util-linux)) ;for mount, umount
;; XXX A directory index is the closest thing this has to a home page.
(home-page "https://www.kernel.org/pub/linux/daemons/autofs/")
(synopsis "Kernel-based automounter for Linux")
(description
"Autofs is a kernel-based automounter for use with the Linux autofs4
module. It automatically mounts selected file systems when they are used and
unmounts them after a set period of inactivity. This provides
centrally-managed, consistent file names for users and applications, even in a
large and/or frequently changing (network) environment.")
;; fedfs/ is GPL-2-only but not built.
(license (list license:bsd-3 ;modules/cyrus-sasl.c
license:gpl2+))))
; the rest
(package
(name "autofs-glicid")
(version "5.1.8")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kernel.org/linux/daemons/autofs/" "v" (version-major version) "/" "autofs-" version ".tar.xz"))
(sha256 (base32 "1zf0fgf6kr9amxq5amlgsp1v13sizwl3wvx2xl7b4r2nhmci0gdk"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags (list "--enable-ignore-busy"
"--enable-sloppy-mount"
"--with-libtirpc"
(string-append "--with-openldap=" (assoc-ref %build-inputs "openldap"))
(string-append "--with-sasl=" (assoc-ref %build-inputs "cyrus-sasl"))
)
#:tests? #f
#:phases (modify-phases %standard-phases
(add-before 'configure 'fix-hard-coded-search-path
(lambda _
(substitute* "configure"
(("^searchpath=\".*\"")
"searchpath=\"$PATH\""))))
(add-before 'configure 'fix-rpath
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* "Makefile.rules"
(("^AUTOFS_LIB_LINK.*=" match)
(string-append match " -Wl,-rpath=" out "/lib"))))))
(add-before 'install 'omit-obsolete-lookup_nis.so-link
(lambda _
(substitute* "modules/Makefile"
(("ln -fs lookup_yp.so" match)
(string-append "# " match))))))))
(native-inputs (list bison flex pkg-config rpcsvc-proto))
(inputs (list cyrus-sasl
e2fsprogs
libtirpc
libxml2
mit-krb5
nfs-utils
openldap
openssl
util-linux))
(home-page "https://www.kernel.org/pub/linux/daemons/autofs/")
(synopsis "Kernel-based automounter for Linux")
(description
"Autofs is a kernel-based automounter for use with the Linux autofs4
module. It automatically mounts selected file systems when they are used and
unmounts them after a set period of inactivity. This provides
centrally-managed, consistent file names for users and applications, even in a
large and/or frequently changing (network) environment.")
(license (list license:bsd-3
license:gpl2+))))

View file

@ -1,125 +1,93 @@
(define-module (glicid packages gcc)
#:use-module (guix packages)
#:use-module (gnu packages commencement) ; for make-gcc-toolchain
#:use-module (gnu packages gcc) ; for gcc-11
)
;; beware : access to internal functions… this is probably not the right way to do it …
#:use-module (guix packages)
#:use-module (gnu packages commencement)
#:use-module (gnu packages gcc)
)
(define custom-gcc
(@@ (gnu packages gcc) custom-gcc))
(define %generic-search-paths
(@@ (gnu packages gcc) %generic-search-paths))
;; now define-public normally hiden versions
(define-public gfortran-12
(hidden-package (custom-gcc gcc-12 "gfortran"
'("fortran") %generic-search-paths)))
(define make-gcc-toolchain
(@@ (gnu packages commencement) make-gcc-toolchain )) ; discouraged, find better alternative
(hidden-package (custom-gcc gcc-12 "gfortran" '("fortran") %generic-search-paths)))
(define make-gcc-toolchain
(@@ (gnu packages commencement) make-gcc-toolchain ))
(define-public gfortran-toolchain-12
(package
(inherit (make-gcc-toolchain gfortran-12))
(synopsis "Complete GCC tool chain for fortran lang development")
(description
"This package provides a complete GCC tool chain for
fortran lang development to be installed in user profiles. This includes
fortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))
(package
(inherit (make-gcc-toolchain gfortran-12))
(synopsis "Complete GCC tool chain for fortran lang development")
(description
"This package provides a complete GCC tool chain for
fortran lang development to be installed in user profiles. This includes
fortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))
(define-public gfortran-13
(hidden-package (custom-gcc gcc-13 "gfortran"
'("fortran") %generic-search-paths)))
(hidden-package (custom-gcc gcc-13 "gfortran"
'("fortran") %generic-search-paths)))
(define-public gfortran-toolchain-13
(package
(inherit (make-gcc-toolchain gfortran-13))
(synopsis "Complete GCC tool chain for fortran lang development")
(description
"This package provides a complete GCC tool chain for
fortran lang development to be installed in user profiles. This includes
fortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))
(package
(inherit (make-gcc-toolchain gfortran-13))
(synopsis "Complete GCC tool chain for fortran lang development")
(description
"This package provides a complete GCC tool chain for
fortran lang development to be installed in user profiles. This includes
fortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))
(define-public gfortran-14
(hidden-package (custom-gcc gcc-14 "gfortran"
'("fortran") %generic-search-paths)))
(hidden-package (custom-gcc gcc-14 "gfortran"
'("fortran") %generic-search-paths)))
(define-public gfortran-toolchain-14
(package
(inherit (make-gcc-toolchain gfortran-14))
(synopsis "Complete GCC tool chain for fortran lang development")
(description
"This package provides a complete GCC tool chain for
fortran lang development to be installed in user profiles. This includes
fortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))
(package
(inherit (make-gcc-toolchain gfortran-14))
(synopsis "Complete GCC tool chain for fortran lang development")
(description
"This package provides a complete GCC tool chain for
fortran lang development to be installed in user profiles. This includes
fortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))
(define-public gfortran-11
(hidden-package (custom-gcc gcc-11 "gfortran"
'("fortran") %generic-search-paths)))
(hidden-package (custom-gcc gcc-11 "gfortran"
'("fortran") %generic-search-paths)))
(define-public gfortran-toolchain-11
(package
(inherit (make-gcc-toolchain gfortran-11))
(synopsis "Complete GCC tool chain for fortran lang development")
(description
"This package provides a complete GCC tool chain for
fortran lang development to be installed in user profiles. This includes
fortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))
;; gfortran@10 and gfortran-toolchain@10 are defaults
;(define-public gfortran-10
; (hidden-package (custom-gcc gcc-10 "gfortran"
; '("fortran") %generic-search-paths)))
;(define-public gfortran-toolchain-10
; (package
; (inherit (make-gcc-toolchain gfortran-10))
; (synopsis "Complete GCC tool chain for fortran lang development")
; (description
; "This package provides a complete GCC tool chain for
; fortran lang development to be installed in user profiles. This includes
; fortran, as well as libc (headers and binaries, plus debugging symbols
; in the @code{debug} output), and binutils.")))
(package
(inherit (make-gcc-toolchain gfortran-11))
(synopsis "Complete GCC tool chain for fortran lang development")
(description
"This package provides a complete GCC tool chain for
fortran lang development to be installed in user profiles. This includes
fortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))
(define-public gfortran-9
(hidden-package (custom-gcc gcc-9 "gfortran"
'("fortran") %generic-search-paths)))
(hidden-package (custom-gcc gcc-9 "gfortran"
'("fortran") %generic-search-paths)))
(define-public gfortran-toolchain-9
(package
(inherit (make-gcc-toolchain gfortran-9))
(synopsis "Complete GCC tool chain for fortran lang development")
(description
"This package provides a complete GCC tool chain for
fortran lang development to be installed in user profiles. This includes
fortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))
(package
(inherit (make-gcc-toolchain gfortran-9))
(synopsis "Complete GCC tool chain for fortran lang development")
(description
"This package provides a complete GCC tool chain for
fortran lang development to be installed in user profiles. This includes
fortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))
(define-public gfortran-8
(hidden-package (custom-gcc gcc-8 "gfortran"
'("fortran") %generic-search-paths)))
(hidden-package (custom-gcc gcc-8 "gfortran"
'("fortran") %generic-search-paths)))
(define-public gfortran-toolchain-8
(package
(inherit (make-gcc-toolchain gfortran-8))
(synopsis "Complete GCC tool chain for fortran lang development")
(description
"This package provides a complete GCC tool chain for
fortran lang development to be installed in user profiles. This includes
fortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))
(package
(inherit (make-gcc-toolchain gfortran-8))
(synopsis "Complete GCC tool chain for fortran lang development")
(description
"This package provides a complete GCC tool chain for
fortran lang development to be installed in user profiles. This includes
fortran, as well as libc (headers and binaries, plus debugging symbols
in the @code{debug} output), and binutils.")))

View file

@ -1,375 +1,207 @@
(define-module (glicid packages glicid)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
;; #:use-module (guix licenses)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gcc)
#:use-module (gnu packages commencement)
#:use-module (guix build-system python)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module ((guix utils)
#:select (target-64bit?))
#:use-module (gnu packages)
#:use-module (gnu packages admin)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages freeipmi)
#:use-module (gnu packages linux)
#:use-module (gnu packages mpi)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages parallel)
#:use-module (gnu packages storage)
#:use-module (gnu packages networking)
#:use-module (gnu packages gtk)
#:use-module (gnu packages python)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
#:use-module (gnu packages tcl)
#:use-module (gnu packages tls)
#:use-module (gnu packages commencement)
#:use-module (gnu packages gcc)
#:use-module (gnu packages chemistry)
#:use-module (gnu packages sphinx)
#:use-module (srfi srfi-1)
#:use-module (gnu packages mpi)
#:use-module (gnu packages sssd)
#:use-module (gnu packages fabric-management)
#:use-module (gnu packages benchmark)
#:use-module (gnu packages messaging)
#:use-module (gnu packages web)
#:use-module (gnu packages gnome)
#:use-module (gnu packages cluster)
#:use-module (gnu packages libevent)
#:use-module (gnu packages xorg)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages flex)
#:use-module (gnu packages bison)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages autotools)
#:use-module (gnu packages fontutils)
#:use-module (guix build-system gnu)
#:use-module (gnu packages image)
#:use-module (gnu packages maths)
#:use-module (guix utils)
#:use-module (gnu packages cmake)
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages boost)
#:use-module (gnu packages curl)
#:use-module (gnu packages cryptsetup)
#:use-module (gnu packages xml)
#:use-module (gnu packages admin)
#:use-module (gnu packages assembly)
#:use-module (gnu packages authentication)
#:use-module (gnu packages bdw-gc)
#:use-module (gnu packages boost)
#:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
#:use-module (gnu packages cryptsetup)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages disk)
#:use-module (gnu packages gperf)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages linux)
#:use-module (gnu packages lua)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages nss)
#:use-module (gnu packages openldap)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages tls)
#:use-module (gnu packages web)
;; #:use-module (gnu packages glicid)
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages virtualization)
;; #:use-module (glicid packages storage)
#:use-module (glicid packages mpi)
#:use-module (glicid packages gcc)
)
;;;;;;;;
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (guix build-system ruby)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bison)
#:use-module (gnu packages chemistry)
#:use-module (gnu packages flex)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gcc)
#:use-module (gnu packages image)
#:use-module (gnu packages messaging)
#:use-module (gnu packages mpi)
#:use-module (gnu packages networking)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages ruby)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages xorg)
#:use-module ((guix licenses) #:prefix license:)
)
(define-public glicid-librdkafka-09
(package
(inherit librdkafka)
(name "glicid-librdkafka-09")
(version "0.9.2")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/edenhill/librdkafka/archive/v" version
".tar.gz"))
(sha256
(base32
"0938yn1msaq8xcj5z7b3jcdy6rslh9kxmvz01r8rdcgbarlvchy2"))))))
(package
(inherit librdkafka)
(name "glicid-librdkafka-09")
(version "0.9.2")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/edenhill/librdkafka/archive/v" version ".tar.gz"))
(sha256 (base32 "0938yn1msaq8xcj5z7b3jcdy6rslh9kxmvz01r8rdcgbarlvchy2"))))))
(define-public glicid-x2go
(package
(name "glicid-x2go")
(version "4.1.0.3")
(source (origin
(method url-fetch)
(uri (string-append
"https://code.x2go.org/releases/source/x2goserver/x2goserver-"
version ".tar.gz"))
(sha256
(base32
"1l6wd708kbipib4ldprfiihqmj4895nifg0bkws4x97majislxk7"))))
(native-inputs `(("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)))
(inputs `(("perl" ,perl)))
(build-system gnu-build-system)
(synopsis "X2go")
(description "X2go")
(license license:gpl2+) ;not checked
(home-page "https://wiki.x2go.org")))
(package
(name "glicid-x2go")
(version "4.1.0.3")
(source (origin
(method url-fetch)
(uri (string-append "https://code.x2go.org/releases/source/x2goserver/x2goserver-" version ".tar.gz"))
(sha256 (base32 "1l6wd708kbipib4ldprfiihqmj4895nifg0bkws4x97majislxk7"))))
(native-inputs `(("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)))
(inputs `(("perl" ,perl)))
(build-system gnu-build-system)
(synopsis "X2go")
(description "X2go")
(license license:gpl2+) ;not checked
(home-page "https://wiki.x2go.org")))
(define-public glicid-gromacs-openmpi
(package
(inherit gromacs)
(name "glicid-gromacs-openmpi")
(inputs `(("openmpi" ,openmpi)
;; ("openssh", openssh) ;; only for tests... disabled now
,@(package-inputs gromacs)))
(build-system cmake-build-system)
(arguments
`(#:configure-flags (list "-DGMX_DEVELOPER_BUILD=on" ;Needed to run tests
;; Unbundling
"-DGMX_USE_LMFIT=EXTERNAL"
"-DGMX_BUILD_OWN_FFTW=off"
"-DGMX_EXTERNAL_BLAS=on"
"-DGMX_EXTERNAL_LAPACK=on"
"-DGMX_EXTERNAL_TNG=on"
"-DGMX_EXTERNAL_ZLIB=on"
"-DGMX_EXTERNAL_TINYXML2=on"
;; special glicid
"-DGMX_MPI=on"
"-DCMAKE_C_COMPILER=mpicc"
"-DCMAKE_CXX_COMPILER=mpicxx"
"-DGMX_DOUBLE=off"
"-DGMX_OPENMP=on"
"-DGMX_SIMD=AVX2_256"
(string-append "-DTinyXML2_DIR="
(assoc-ref %build-inputs
"tinyxml2"))
;; Workaround for cmake/FindSphinx.cmake version parsing that does
;; not understand the guix-wrapped `sphinx-build --version' answer
(string-append "-DSPHINX_EXECUTABLE_VERSION="
,(package-version python-sphinx)))
#:tests? #f
#:phases (modify-phases %standard-phases
(add-after 'unpack 'fixes
(lambda* (#:key inputs #:allow-other-keys)
;; Still bundled: part of gromacs, source behind registration
;; but free software anyways
;; (delete-file-recursively "src/external/vmd_molfile")
;; Still bundled: threads-based OpenMPI-compatible fallback
;; designed to be bundled like that
;; (delete-file-recursively "src/external/thread_mpi")
;; Unbundling
(delete-file-recursively "src/external/lmfit")
(delete-file-recursively "src/external/clFFT")
(delete-file-recursively "src/external/fftpack")
(delete-file-recursively "src/external/build-fftw")
(delete-file-recursively "src/external/tng_io")
(delete-file-recursively "src/external/tinyxml2")
(delete-file-recursively "src/external/googletest")
(copy-recursively (assoc-ref inputs "googletest-source")
"src/external/googletest")
;; This test warns about the build host hardware, disable
(substitute* "src/gromacs/hardware/tests/hardwaretopology.cpp"
(("TEST\\(HardwareTopologyTest, HwlocExecute\\)")
"void __guix_disabled()"))
#t)))))
)
)
(package
(inherit gromacs)
(name "glicid-gromacs-openmpi")
(inputs `(("openmpi" ,openmpi)
,@(package-inputs gromacs)))
(build-system cmake-build-system)
(arguments
`(#:configure-flags (list "-DGMX_DEVELOPER_BUILD=on"
"-DGMX_USE_LMFIT=EXTERNAL"
"-DGMX_BUILD_OWN_FFTW=off"
"-DGMX_EXTERNAL_BLAS=on"
"-DGMX_EXTERNAL_LAPACK=on"
"-DGMX_EXTERNAL_TNG=on"
"-DGMX_EXTERNAL_ZLIB=on"
"-DGMX_EXTERNAL_TINYXML2=on"
"-DGMX_MPI=on"
"-DCMAKE_C_COMPILER=mpicc"
"-DCMAKE_CXX_COMPILER=mpicxx"
"-DGMX_DOUBLE=off"
"-DGMX_OPENMP=on"
"-DGMX_SIMD=AVX2_256"
(string-append "-DTinyXML2_DIR=" (assoc-ref %build-inputs "tinyxml2"))
(string-append "-DSPHINX_EXECUTABLE_VERSION="
,(package-version python-sphinx)))
#:tests? #f
#:phases (modify-phases %standard-phases
(add-after 'unpack 'fixes
(lambda* (#:key inputs #:allow-other-keys)
(delete-file-recursively "src/external/lmfit")
(delete-file-recursively "src/external/clFFT")
(delete-file-recursively "src/external/fftpack")
(delete-file-recursively "src/external/build-fftw")
(delete-file-recursively "src/external/tng_io")
(delete-file-recursively "src/external/tinyxml2")
(delete-file-recursively "src/external/googletest")
(copy-recursively (assoc-ref inputs "googletest-source") "src/external/googletest")
(substitute* "src/gromacs/hardware/tests/hardwaretopology.cpp"
(("TEST\\(HardwareTopologyTest, HwlocExecute\\)")
"void __guix_disabled()"))
#t)))))))
(define-public glicid-python-nbxmpp
(package
(inherit python-nbxmpp)
(name "glicid-python-nbxmpp")
(version "1.0.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "nbxmpp" version))
(sha256
(base32
"0vw5drr077w9ks4crnw6pwa4735ycyjdcm54knc3w4in4x5027wr"))))
))
; no more useful
;(define-public glicid-specific-hdf5
; (package
; (inherit hdf5-1.12)
; (name "glicid-specific-hdf5")
; ;; (arguments
; ;; `(#:tests? #f)
; ;; )
; (native-inputs `(("gcc" ,gcc-11)
; ("gfortran" ,gfortran-11)
; ,@(package-native-inputs hdf5-1.12)))))
(package
(inherit python-nbxmpp)
(name "glicid-python-nbxmpp")
(version "1.0.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "nbxmpp" version))
(sha256 (base32 "0vw5drr077w9ks4crnw6pwa4735ycyjdcm54knc3w4in4x5027wr")))) ))
(define-public glicid-motif
(package
(name "glicid-motif")
(version "2.3.8")
(source (origin
(method url-fetch)
;; (uri (string-append "https://sourceforge.net/projects/motif/files/Motif%202.3.8%20Source%20Code/motif-2.3.8.tar.gz/download"))
;; (uri (string-append "mirror://sourceforge/motif/files/Motif%202.3.8%20Source%20Code/motif-2.3.8.tar.gz"))
(uri (string-append
"mirror://sourceforge/motif/Motif%202.3.8%20Source%20Code/motif-2.3.8.tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1rxwkrhmj8sfg7dwmkhq885valwqbh26d79033q7vb7fcqv756w5"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
;; #:make-flags
(list (string-append "PREFIX=" %output)
;; (string-append "CC=" ,(cc-for-target))
;; Xft.h #includes <ft2build.h> without freetype2/. The Makefile
;; works around this by hard-coding /usr/include & $PREFIX.
(string-append "CPPFLAGS=-I"
(assoc-ref %build-inputs "freetype")
"/include/freetype2")
"V=1")))
(inputs `(("libxext" ,libxext)
("libx11" ,libx11)
("freetype" ,freetype)
("libxft" ,libxft)
("xbitmaps" ,xbitmaps)
("pkg-config" ,pkg-config)
("flex" ,flex)
("bison" ,bison)
("libxt" ,libxt)))
(synopsis "Motif")
(description "Motif ")
(home-page "https://sourceforge.net/untested")
(license license:gpl2+) ;probably not !!!
))
(package
(name "glicid-motif")
(version "2.3.8")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/motif/Motif%202.3.8%20Source%20Code/motif-2.3.8.tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (base32 "1rxwkrhmj8sfg7dwmkhq885valwqbh26d79033q7vb7fcqv756w5"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
(list (string-append "PREFIX=" %output)
(string-append "CPPFLAGS=-I" (assoc-ref %build-inputs "freetype") "/include/freetype2")
"V=1")))
(inputs `(("libxext" ,libxext)
("libx11" ,libx11)
("freetype" ,freetype)
("libxft" ,libxft)
("xbitmaps" ,xbitmaps)
("pkg-config" ,pkg-config)
("flex" ,flex)
("bison" ,bison)
("libxt" ,libxt)))
(synopsis "Motif")
(description "Motif ")
(home-page "https://sourceforge.net/untested")
(license license:gpl2+)))
(define-public glicid-xmgrace
(package
(name "glicid-xmgrace")
(version "5.1.25")
(source (origin
(method git-fetch)
(uri (git-reference
(url
"https://oauth2:glpat-RsX2GjsD2WrzXubiJeou@gitlab.univ-nantes.fr/CCIPL/legacy_code_mirror/grace.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1wb8v0q8xa2akas0swpgdgw1s66i50k7kh1g2f894hnk91fzx56z"))))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-after 'configure 'patch-/bin/sh
(lambda _
(substitute* '("Make.conf")
(("/bin/sh")
(which "bash"))))))))
(inputs `(("libx11" ,libx11)
("libxft" ,libxft)
("libxt" ,libxt)
("libxpm" ,libxpm)
("libxext" ,libxext)
("autoconf" ,autoconf)
("glicid-motif" ,glicid-motif)
("fontconfig" ,fontconfig)
("gfortran" ,gfortran)
("libjpeg-turbo" ,libjpeg-turbo)
;; ("libxmhtml", libxmhtml)
))
(synopsis "Xmgrace")
(description "xmgrace")
(home-page "https://sourceforge.net/untested")
(license license:gpl2+) ; probably not
))
(use-modules (guix packages))
(use-modules (guix download))
(use-modules (gnu packages ruby))
(use-modules (guix build-system ruby))
;(use-modules (guix licenses))
(package
(name "glicid-xmgrace")
(version "5.1.25")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://oauth2:glpat-RsX2GjsD2WrzXubiJeou@gitlab.univ-nantes.fr/CCIPL/legacy_code_mirror/grace.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (base32 "1wb8v0q8xa2akas0swpgdgw1s66i50k7kh1g2f894hnk91fzx56z"))))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-after 'configure 'patch-/bin/sh
(lambda _
(substitute* '("Make.conf")
(("/bin/sh")
(which "bash"))))))))
(inputs `(("libx11" ,libx11)
("libxft" ,libxft)
("libxt" ,libxt)
("libxpm" ,libxpm)
("libxext" ,libxext)
("autoconf" ,autoconf)
("glicid-motif" ,glicid-motif)
("fontconfig" ,fontconfig)
("gfortran" ,gfortran)
("libjpeg-turbo" ,libjpeg-turbo) ))
(synopsis "Xmgrace")
(description "xmgrace")
(home-page "https://sourceforge.net/untested")
(license license:gpl2+) ))
(define-public ruby-asciidoctor-revealjs
(package
(name "ruby-asciidoctor-revealjs")
(version "4.1.0")
(source (origin
(method url-fetch)
(uri (rubygems-uri "asciidoctor-revealjs" version))
(sha256
(base32
"03vmbcc3x059h17ry4qwk1p0yar9wgh87l2qssi307gy45cjw2mq"))))
(build-system ruby-build-system)
(arguments
'(#:tests? #f))
(propagated-inputs `(("ruby-asciidoctor" ,ruby-asciidoctor)
;; ("ruby-concurrent-ruby" ,ruby-concurrent-ruby)
("ruby-concurrent" ,ruby-concurrent)
("ruby-asciidoctor-kroki" ,ruby-asciidoctor-kroki)
("ruby-thread-safe" ,ruby-thread-safe)))
(synopsis
"Converts AsciiDoc documents into HTML5 presentations designed to be executed by the reveal.js presentation framework.")
(description
"Converts AsciiDoc documents into HTML5 presentations designed to be executed by the reveal.js presentation framework.")
(home-page "https://github.com/asciidoctor/asciidoctor-reveal.js")
(license license:expat)))
(package
(name "ruby-asciidoctor-revealjs")
(version "4.1.0")
(source (origin
(method url-fetch)
(uri (rubygems-uri "asciidoctor-revealjs" version))
(sha256
(base32
"03vmbcc3x059h17ry4qwk1p0yar9wgh87l2qssi307gy45cjw2mq"))))
(build-system ruby-build-system)
(arguments
'(#:tests? #f))
(propagated-inputs `(("ruby-asciidoctor" ,ruby-asciidoctor)
("ruby-concurrent" ,ruby-concurrent)
("ruby-asciidoctor-kroki" ,ruby-asciidoctor-kroki)
("ruby-thread-safe" ,ruby-thread-safe)))
(synopsis "Converts AsciiDoc documents into HTML5 presentations designed to be executed by the reveal.js presentation framework.")
(description "Converts AsciiDoc documents into HTML5 presentations designed to be executed by the reveal.js presentation framework.")
(home-page "https://github.com/asciidoctor/asciidoctor-reveal.js")
(license license:expat)))
(define-public ruby-asciidoctor-kroki
(package
(name "ruby-asciidoctor-kroki")
(version "0.4.0")
(source (origin
(method url-fetch)
(uri (rubygems-uri "asciidoctor-kroki" version))
(sha256
(base32
"13gx22xld4rbxxirnsxyrsajy9v666r8a4ngms71611af5afgk6w"))))
(build-system ruby-build-system)
(arguments
'(#:tests? #f))
(propagated-inputs `(("ruby-asciidoctor" ,ruby-asciidoctor)))
(synopsis
"An extension for Asciidoctor to convert diagrams to images using https://kroki.io")
(description
"An extension for Asciidoctor to convert diagrams to images using https://kroki.io")
(home-page "https://github.com/Mogztter/asciidoctor-kroki")
(license license:expat)))
;; python-glances is now upstreamed as glances in python-xyz
;;; glicid.scm ends here
(package
(name "ruby-asciidoctor-kroki")
(version "0.4.0")
(source (origin
(method url-fetch)
(uri (rubygems-uri "asciidoctor-kroki" version))
(sha256 (base32 "13gx22xld4rbxxirnsxyrsajy9v666r8a4ngms71611af5afgk6w"))))
(build-system ruby-build-system)
(arguments
'(#:tests? #f))
(propagated-inputs `(("ruby-asciidoctor" ,ruby-asciidoctor)))
(synopsis "An extension for Asciidoctor to convert diagrams to images using https://kroki.io")
(description "An extension for Asciidoctor to convert diagrams to images using https://kroki.io")
(home-page "https://github.com/Mogztter/asciidoctor-kroki")
(license license:expat)))

View file

@ -1,45 +1,15 @@
(define-module (glicid packages gnome)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (gnu packages sssd)
#:use-module (gnu packages gnome)
#:use-module (glicid utils)
#:use-module (glicid packages vpn))
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (gnu packages sssd)
#:use-module (gnu packages gnome)
#:use-module (glicid utils)
#:use-module (glicid packages vpn))
(define-public glicid-terminator
(package
(inherit terminator)
(name "glicid-terminator")
(propagated-inputs `(("sssd" ,sssd)
,@(package-propagated-inputs terminator)))))
;; guix defined version is now on par or newer…
;(define-public network-manager-openconnect-upstream
; (package
; (inherit network-manager-openconnect)
; (name "network-manager-openconnect-upstream")
; (version "1.2.8")
;; (version "1.2.7")
; (source (origin
; (method url-fetch)
; (uri (string-append
; "mirror://gnome/sources/NetworkManager-openconnect/"
; (version-major+minor version)
; "/NetworkManager-openconnect-" version ".tar.xz"))
; (sha256
; (base32
; "1k6d6cv2c9v8gf0f2js6cklr3ijhaanbz0nhvlwy5n42bmwamvax"))))
; )
;)
;(define-public network-manager-openconnect-glicid
; (transform-package
; (
; (instead-of "openconnect" openconnect-upstream)
; network-manager-openconnect
; ) "glicid"
; )
;)
(package
(inherit terminator)
(name "glicid-terminator")
(propagated-inputs `(("sssd" ,sssd)
,@(package-propagated-inputs terminator)))))

View file

@ -6,194 +6,194 @@
#:use-module (guix packages))
(define-public go-github-com-fatih-color-1.9.0
(package
(name "go-github-com-fatih-color")
(version "1.9.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/fatih/color")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"086z8ssmr1fn9ba4mqnw7pnccfpys6l5yfhvycv1gdrsk7n27mvs"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/fatih/color"))
(propagated-inputs `(("go-github-com-mattn-go-isatty-0.0.11" ,go-github-com-mattn-go-isatty-0.0.11)
("go-github-com-mattn-go-colorable-0.1.4" ,go-github-com-mattn-go-colorable-0.1.4)))
(home-page "https://github.com/fatih/color")
(synopsis "color")
(description
"Package color is an ANSI color package to output colorized or SGR defined output
to the standard output. The API can be used in several way, pick one that suits
you.")
(license license:expat)))
(package
(name "go-github-com-fatih-color")
(version "1.9.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/fatih/color")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"086z8ssmr1fn9ba4mqnw7pnccfpys6l5yfhvycv1gdrsk7n27mvs"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/fatih/color"))
(propagated-inputs `(("go-github-com-mattn-go-isatty-0.0.11" ,go-github-com-mattn-go-isatty-0.0.11)
("go-github-com-mattn-go-colorable-0.1.4" ,go-github-com-mattn-go-colorable-0.1.4)))
(home-page "https://github.com/fatih/color")
(synopsis "color")
(description
"Package color is an ANSI color package to output colorized or SGR defined output
to the standard output. The API can be used in several way, pick one that suits
you.")
(license license:expat)))
(define-public go-github-com-pbnjay-memory-0.0.0-20190104145345-974d429e7ae4
(package
(name "go-github-com-pbnjay-memory")
(version "0.0.0-20190104145345-974d429e7ae4")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/pbnjay/memory")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32
"0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/pbnjay/memory"))
(home-page "https://github.com/pbnjay/memory")
(synopsis "memory")
(description
"Package memory provides a single method reporting total system memory accessible
to the kernel.")
(license license:bsd-3)))
(package
(name "go-github-com-pbnjay-memory")
(version "0.0.0-20190104145345-974d429e7ae4")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/pbnjay/memory")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32
"0kazg5psdn90pqadrzma5chdwh0l2by9z31sspr47gx93fhjmkkq"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/pbnjay/memory"))
(home-page "https://github.com/pbnjay/memory")
(synopsis "memory")
(description
"Package memory provides a single method reporting total system memory accessible
to the kernel.")
(license license:bsd-3)))
(define-public go-golang-org-x-sys-0.0.0-20190222072716-a9d3bda3a223
(package
(name "go-golang-org-x-sys")
(version "0.0.0-20190222072716-a9d3bda3a223")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://go.googlesource.com/sys")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32
"1w45zc13xrjzl19s1sx74r5mg3lf2z2nm13wygcdq5r5pyjlhdz9"))))
(build-system go-build-system)
(arguments
'(#:import-path "golang.org/x/sys"))
(home-page "https://golang.org/x/sys")
(synopsis "sys")
(description
"This repository holds supplemental Go packages for low-level interactions with
the operating system.")
(license license:bsd-3)))
(package
(name "go-golang-org-x-sys")
(version "0.0.0-20190222072716-a9d3bda3a223")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://go.googlesource.com/sys")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32
"1w45zc13xrjzl19s1sx74r5mg3lf2z2nm13wygcdq5r5pyjlhdz9"))))
(build-system go-build-system)
(arguments
'(#:import-path "golang.org/x/sys"))
(home-page "https://golang.org/x/sys")
(synopsis "sys")
(description
"This repository holds supplemental Go packages for low-level interactions with
the operating system.")
(license license:bsd-3)))
(define-public go-github-com-mattn-go-isatty-0.0.8
(package
(name "go-github-com-mattn-go-isatty")
(version "0.0.8")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mattn/go-isatty")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0rqfh1rj6f5wm8p2ky7inm8g10152p7w6n2cli17kf9gad797i8h"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/mattn/go-isatty"))
(propagated-inputs `(("go-golang-org-x-sys-0.0.0-20190222072716-a9d3bda3a223" ,go-golang-org-x-sys-0.0.0-20190222072716-a9d3bda3a223)))
(home-page "https://github.com/mattn/go-isatty")
(synopsis "go-isatty")
(description "Package isatty implements interface to isatty")
(license license:expat)))
(package
(name "go-github-com-mattn-go-isatty")
(version "0.0.8")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mattn/go-isatty")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0rqfh1rj6f5wm8p2ky7inm8g10152p7w6n2cli17kf9gad797i8h"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/mattn/go-isatty"))
(propagated-inputs `(("go-golang-org-x-sys-0.0.0-20190222072716-a9d3bda3a223" ,go-golang-org-x-sys-0.0.0-20190222072716-a9d3bda3a223)))
(home-page "https://github.com/mattn/go-isatty")
(synopsis "go-isatty")
(description "Package isatty implements interface to isatty")
(license license:expat)))
(define-public go-github-com-mattn-go-colorable-0.1.4
(package
(name "go-github-com-mattn-go-colorable")
(version "0.1.4")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mattn/go-colorable")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1yxcz08kminqr1221zxpibnbzfcgs3fafin0z9zqb3gqvf74jywz"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/mattn/go-colorable"))
(propagated-inputs `(("go-github-com-mattn-go-isatty-0.0.8" ,go-github-com-mattn-go-isatty-0.0.8)))
(home-page "https://github.com/mattn/go-colorable")
(synopsis "go-colorable")
(description "Colorable writer for windows.")
(license license:expat)))
(package
(name "go-github-com-mattn-go-colorable")
(version "0.1.4")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mattn/go-colorable")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1yxcz08kminqr1221zxpibnbzfcgs3fafin0z9zqb3gqvf74jywz"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/mattn/go-colorable"))
(propagated-inputs `(("go-github-com-mattn-go-isatty-0.0.8" ,go-github-com-mattn-go-isatty-0.0.8)))
(home-page "https://github.com/mattn/go-colorable")
(synopsis "go-colorable")
(description "Colorable writer for windows.")
(license license:expat)))
(define-public go-github-com-mattn-go-isatty-0.0.11
(package
(name "go-github-com-mattn-go-isatty")
(version "0.0.11")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mattn/go-isatty")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/mattn/go-isatty"))
(propagated-inputs `(("go-golang-org-x-sys-0.0.0-20191026070338-33540a1f6037" ,go-golang-org-x-sys-0.0.0-20191026070338-33540a1f6037)))
(home-page "https://github.com/mattn/go-isatty")
(synopsis "go-isatty")
(description "Package isatty implements interface to isatty")
(license license:expat)))
(package
(name "go-github-com-mattn-go-isatty")
(version "0.0.11")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mattn/go-isatty")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/mattn/go-isatty"))
(propagated-inputs `(("go-golang-org-x-sys-0.0.0-20191026070338-33540a1f6037" ,go-golang-org-x-sys-0.0.0-20191026070338-33540a1f6037)))
(home-page "https://github.com/mattn/go-isatty")
(synopsis "go-isatty")
(description "Package isatty implements interface to isatty")
(license license:expat)))
(define-public go-golang-org-x-sys-0.0.0-20191026070338-33540a1f6037
(package
(name "go-golang-org-x-sys")
(version "0.0.0-20191026070338-33540a1f6037")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://go.googlesource.com/sys")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32
"0fjcv0vzvi6za0b4xmnk3932pr9f9gczzf03y0kgq3ry9rqg169y"))))
(build-system go-build-system)
(arguments
'(#:import-path "golang.org/x/sys"))
(home-page "https://golang.org/x/sys")
(synopsis "sys")
(description
"This repository holds supplemental Go packages for low-level interactions with
the operating system.")
(license license:bsd-3)))
(package
(name "go-golang-org-x-sys")
(version "0.0.0-20191026070338-33540a1f6037")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://go.googlesource.com/sys")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32
"0fjcv0vzvi6za0b4xmnk3932pr9f9gczzf03y0kgq3ry9rqg169y"))))
(build-system go-build-system)
(arguments
'(#:import-path "golang.org/x/sys"))
(home-page "https://golang.org/x/sys")
(synopsis "sys")
(description
"This repository holds supplemental Go packages for low-level interactions with
the operating system.")
(license license:bsd-3)))
(define-public go-github-com-timescale-timescaledb-tune-0.14.3
(package
(name "go-github-com-timescale-timescaledb-tune")
(version "0.14.3")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/timescale/timescaledb-tune")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"02miqianhfw1qysyig2apdw6wgc72izbjwaqzm7jhfcnnw1vq21i"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/timescale/timescaledb-tune"))
(propagated-inputs `(("go-golang-org-x-sys-0.0.0-20191026070338-33540a1f6037" ,go-golang-org-x-sys-0.0.0-20191026070338-33540a1f6037)
("go-github-com-mattn-go-isatty-0.0.11" ,go-github-com-mattn-go-isatty-0.0.11)
("go-github-com-mattn-go-colorable-0.1.4" ,go-github-com-mattn-go-colorable-0.1.4)
("go-github-com-pbnjay-memory-0.0.0-20190104145345-974d429e7ae4" ,go-github-com-pbnjay-memory-0.0.0-20190104145345-974d429e7ae4)
("go-github-com-fatih-color-1.9.0" ,go-github-com-fatih-color-1.9.0)))
(home-page "https://github.com/timescale/timescaledb-tune")
(synopsis "timescaledb-tune")
(description
"@@code{timescaledb-tune} is a program for tuning a
@@url{https://github.com/timescale/timescaledb-tune/blob/v0.14.3/timescale/timescaledb,TimescaleDB}
database to perform its best based on the host's resources such as memory and
number of CPUs. It parses the existing @@code{postgresql.conf} file to ensure
that the TimescaleDB extension is appropriately installed and provides
recommendations for memory, parallelism, WAL, and other settings.")
(license license:asl2.0)))
(package
(name "go-github-com-timescale-timescaledb-tune")
(version "0.14.3")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/timescale/timescaledb-tune")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"02miqianhfw1qysyig2apdw6wgc72izbjwaqzm7jhfcnnw1vq21i"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/timescale/timescaledb-tune"))
(propagated-inputs `(("go-golang-org-x-sys-0.0.0-20191026070338-33540a1f6037" ,go-golang-org-x-sys-0.0.0-20191026070338-33540a1f6037)
("go-github-com-mattn-go-isatty-0.0.11" ,go-github-com-mattn-go-isatty-0.0.11)
("go-github-com-mattn-go-colorable-0.1.4" ,go-github-com-mattn-go-colorable-0.1.4)
("go-github-com-pbnjay-memory-0.0.0-20190104145345-974d429e7ae4" ,go-github-com-pbnjay-memory-0.0.0-20190104145345-974d429e7ae4)
("go-github-com-fatih-color-1.9.0" ,go-github-com-fatih-color-1.9.0)))
(home-page "https://github.com/timescale/timescaledb-tune")
(synopsis "timescaledb-tune")
(description
"@@code{timescaledb-tune} is a program for tuning a
@@url{https://github.com/timescale/timescaledb-tune/blob/v0.14.3/timescale/timescaledb,TimescaleDB}
database to perform its best based on the host's resources such as memory and
number of CPUs. It parses the existing @@code{postgresql.conf} file to ensure
that the TimescaleDB extension is appropriately installed and provides
recommendations for memory, parallelism, WAL, and other settings.")
(license license:asl2.0)))

View file

@ -1,49 +0,0 @@
(define-module (glicid packages jupyter)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix build-system python)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages check)
#:use-module (gnu packages python-xyz)
; #:use-module ((guix-science packages jupyter) #:prefix gs:)
)
;(define-public python-jupyterhub
; (package
; (inherit gs:python-jupyterhub)
; (name "python-jupyterhub")
; (version "4.0.0")
; (source (origin
; (method url-fetch)
; (uri (pypi-uri "jupyterhub" version))
; (sha256 (base32 "0rx82hmwi6m2c7q8mw8a7r45j8245schln5vq1q2nzcswjb2karc"))))))
;(define-public python-batchspawner
; (package
; (name "python-batchspawner")
; (version "1.2.0")
; (source (origin
; (method url-fetch)
; (uri (pypi-uri "batchspawner" version))
; (sha256 (base32 "089f18s79kb2983wy4vb3vcwynmw7pzxmv0jwfhjgxd3yfs4p4mi"))))
; (build-system python-build-system)
; (propagated-inputs (list python-async-generator python-jinja2 python-jupyterhub python-pytest))
; (home-page "http://jupyter.org")
; (synopsis "Batchspawner: A spawner for Jupyterhub to spawn notebooks using batch resource managers.")
; (description "Batchspawner: A spawner for Jupyterhub to spawn notebooks using batch resource managers.")
; (license license:bsd-3)))
;(define-public python-batchspawner-git
; (package
; (inherit python-batchspawner)
; (name "python-batchspawner")
; (version "d5f9a0b")
; (source
; (origin
; (method git-fetch)
; (uri (git-reference
; (url "https://github.com/jupyterhub/batchspawner")
; (commit version)))
; (sha256 (base32 "03z1ww5qlwjn3xs3lf9b78yrqq7kd6rd5bh2kn377md391hz09f7"))))))

View file

@ -1,26 +0,0 @@
(define-module (glicid packages linux)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (gnu packages)
#:use-module (gnu packages backup)
#:use-module (gnu packages compression)
#:use-module (gnu packages cryptsetup)
#:use-module (gnu packages golang)
#:use-module ((gnu packages linux) #:prefix gnu:)
#:use-module (gnu packages linux)
#:use-module (gnu system uuid)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages autotools)
#:use-module (gnu packages python)
#:use-module (gnu packages tls)
#:use-module (glicid packages golang)
#:use-module (glicid utils))
;; lots of obsolete packages deleted

View file

@ -1,296 +1,140 @@
(define-module (glicid packages maths)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module ((gnu packages maths) #:prefix gnu:)
#:use-module (gnu packages commencement)
#:use-module (gnu packages mpi)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (gnu packages)
#:use-module (gnu packages compression)
#:use-module (guix build-system cmake)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (glicid utils)
#:use-module (ice-9 regex)
#:use-module (ice-9 match)
#:use-module (guix gexp)
#:use-module ((guix build utils) #:select (alist-replace))
#:use-module (guix build-system ant)
#:use-module (guix build-system copy)
#:use-module (guix build-system dune)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system ocaml)
#:use-module (guix build-system perl)
#:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix build-system ruby)
#:use-module (gnu packages algebra)
#:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages backup)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages boost)
#:use-module (gnu packages calendar)
#:use-module (gnu packages check)
#:use-module (gnu packages cmake)
#:use-module (gnu packages coq)
#:use-module (gnu packages curl)
#:use-module (gnu packages cyrus-sasl)
#:use-module (gnu packages cpp)
#:use-module (gnu packages datamash)
#:use-module (gnu packages dbm)
#:use-module (gnu packages documentation)
#:use-module (gnu packages elf)
#:use-module (gnu packages emacs)
#:use-module (gnu packages file)
#:use-module (gnu packages flex)
#:use-module (gnu packages fltk)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gd)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages glib)
#:use-module (gnu packages gperf)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages groff)
#:use-module (gnu packages gtk)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
#:use-module (gnu packages image-processing)
#:use-module (gnu packages java)
#:use-module (gnu packages less)
#:use-module (gnu packages lisp)
#:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
#:use-module (gnu packages logging)
#:use-module (gnu packages lua)
#:use-module (gnu packages gnome)
#:use-module (gnu packages guile)
#:use-module (gnu packages xorg)
#:use-module (gnu packages gl)
#:use-module (gnu packages imagemagick)
#:use-module (gnu packages m4)
#:use-module (gnu packages mpi)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages netpbm)
#:use-module (gnu packages ocaml)
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages parallel)
#:use-module (gnu packages pcre)
#:use-module (gnu packages popt)
#:use-module (gnu packages perl)
#:use-module (gnu packages prolog)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages readline)
#:use-module (gnu packages ruby)
#:use-module (gnu packages tbb)
#:use-module (gnu packages scheme)
#:use-module (gnu packages serialization)
#:use-module (gnu packages shells)
#:use-module (gnu packages simulation)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages swig)
#:use-module (gnu packages tcl)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages tex)
#:use-module (gnu packages time)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
#:use-module (gnu packages wxwidgets)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26))
(define-public scalapack-upstream
(package
(inherit gnu:scalapack)
(name "scalapack-upstream")
(version "2.1.0-new-upstream")
(source (origin
(method git-fetch)
(uri (git-reference
(url
"https://oauth2:glpat-RsX2GjsD2WrzXubiJeou@gitlab.univ-nantes.fr/CCIPL/legacy_code_mirror/scalapack.git")
(commit "myv2.0.2")))
(file-name "scalapack-univ-myv2")
;; (patches (search-patches "scalapack-blacs-mpi-deprecations.patch"))
(sha256
(base32
"1ccic46psf2hl9wsyflvkn5rxg8k17q578m9mzimvm9brbggf0na"))))
(arguments
`(#:configure-flags `("-DBUILD_SHARED_LIBS:BOOL=YES")
#:phases (modify-phases %standard-phases
(add-before 'check 'mpi-setup
,%openmpi-setup))))))
#:use-module (guix packages)
#:use-module (glicid utils)
#:use-module (guix utils)
#:use-module (guix gexp)
#:use-module ((gnu packages maths) #:prefix gnu:)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (gnu packages commencement)
#:use-module (gnu packages compression)
#:use-module (gnu packages mpi)
#:use-module ((guix licenses) #:prefix license:)
)
(define local:scalapack
scalapack-upstream)
(define-public scalapack-latest
(latest-version local:scalapack gnu:scalapack))
(define-public scalapack-upstream
(package
(inherit gnu:scalapack)
(name "scalapack-upstream")
(version "2.1.0-new-upstream")
(source (origin
(method git-fetch)
(uri (git-reference
(url
"https://oauth2:glpat-RsX2GjsD2WrzXubiJeou@gitlab.univ-nantes.fr/CCIPL/legacy_code_mirror/scalapack.git")
(commit "myv2.0.2")))
(file-name "scalapack-univ-myv2")
(sha256 (base32 "1ccic46psf2hl9wsyflvkn5rxg8k17q578m9mzimvm9brbggf0na"))))
(arguments
`(#:configure-flags `("-DBUILD_SHARED_LIBS:BOOL=YES")
#:phases (modify-phases %standard-phases
(add-before 'check 'mpi-setup
,%openmpi-setup))))))
(define local:scalapack scalapack-upstream)
(define-public scalapack-latest (latest-version local:scalapack gnu:scalapack))
(define-public openblas-upstream-0.3.15
(package
(inherit gnu:openblas)
(name "openblas-upstream")
(version "0.3.15")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/xianyi/OpenBLAS/releases/download/v"
version "/OpenBLAS-" version ".tar.gz"))
(sha256
(base32
"1gjbkrsh6n28hdp2ciyjigc8vg764d2r0jbzl63v753mjzn9va9h"))))))
(package
(inherit gnu:openblas)
(name "openblas-upstream")
(version "0.3.15")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/xianyi/OpenBLAS/releases/download/v" version "/OpenBLAS-" version ".tar.gz"))
(sha256 (base32 "1gjbkrsh6n28hdp2ciyjigc8vg764d2r0jbzl63v753mjzn9va9h"))))))
(define-public hdf5-glicid
(package
(inherit gnu:hdf5-parallel-openmpi)
(name "hdf5-glicid")
(inputs (modify-inputs (package-inputs gnu:hdf5-parallel-openmpi)
(prepend gfortran-toolchain)))))
(package
(inherit gnu:hdf5-parallel-openmpi)
(name "hdf5-glicid")
(inputs (modify-inputs (package-inputs gnu:hdf5-parallel-openmpi)
(prepend gfortran-toolchain)))))
(define local:openblas
openblas-upstream-0.3.15)
(define-public scalapack-latest
(latest-version local:openblas gnu:openblas))
(use-modules (guix packages))
(use-modules (guix download))
(use-modules (gnu packages linux))
(use-modules (gnu packages gcc))
(use-modules (gnu packages compression))
;(use-modules (gnu packages glicid))
(use-modules (guix git-download))
(use-modules (guix build-system cmake))
(use-modules ((guix licenses)
#:prefix license:))
(define local:openblas openblas-upstream-0.3.15)
(define-public scalapack-latest (latest-version local:openblas gnu:openblas))
(define-public libsolv-upstream
(package
(name "libsolv")
(version "0.7.23")
(source (origin
(package
(name "libsolv")
(version "0.7.23")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/openSUSE/libsolv.git")
(commit version)))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "12z63kcna9swh3vzxk3sac0l4by5z8q22wip9cyq5b7wp9m3hn4b"))))
(build-system cmake-build-system)
(inputs (list zlib))
(home-page "https://github.com/openSUSE/libsolv")
(synopsis "libsolv, a free package dependency solver using a satisfiability algorithm.")
(description "libsolv, a free package dependency solver using a satisfiability algorithm.")
(license license:bsd-3))
)
(sha256 (base32 "12z63kcna9swh3vzxk3sac0l4by5z8q22wip9cyq5b7wp9m3hn4b"))))
(build-system cmake-build-system)
(inputs (list zlib))
(home-page "https://github.com/openSUSE/libsolv")
(synopsis "libsolv, a free package dependency solver using a satisfiability algorithm.")
(description "libsolv, a free package dependency solver using a satisfiability algorithm.")
(license license:bsd-3)) )
(define-public glicid-dealii
(package
(inherit gnu:dealii)
(version "9.6.0")
(name "glicid-dealii")
(arguments
(list #:build-type "Release" ; Only Debug, Release or DebugRelease.
;; The tests take too long and must be explicitly enabled with
;; "make setup_tests".
;; See https://www.dealii.org/developer/developers/testsuite.html.
;; (They can also be run for an already installed deal.II.)
#:tests? #f
#:configure-flags
#~(let ((doc (string-append #$output:doc "/share/doc/"
#$name "-" #$version)))
(list "-DDEAL_II_COMPONENT_DOCUMENTATION=OFF"
(string-append "-DCMAKE_CXX_FLAGS='-march=znver3'")
(string-append "-DDEAL_II_DOCREADME_RELDIR=" doc)
(string-append "-DDEAL_II_DOCHTML_RELDIR=" doc "/html")
;; Don't compile the examples because the source and
;; CMakeLists.txt are installed anyway, allowing users to
;; do so for themselves.
"-DDEAL_II_COMPILE_EXAMPLES=OFF"
(string-append "-DDEAL_II_EXAMPLES_RELDIR=" doc
"/examples")))
#:phases
#~(modify-phases %standard-phases
;; Without unsetting CPATH, the build fails with the following
;; error (similar to <https://bugs.gnu.org/30756>):
;;
;; /gnu/store/…-gcc-11.3.0/include/c++/math.h:30:16: fatal error: math.h: No such file or directory
;; 30 | # include_next <math.h>
;; | ^~~~~~~~
;;
;; Why does unsetting CPATH magically fix the error?
;; TODO: Properly fix this issue.
(add-after 'set-paths 'unset-cpath
(lambda _
(unsetenv "CPATH")))
(add-after 'install 'remove-build-logs
;; These build logs leak the name of the build directory by
;; storing the values of CMAKE_SOURCE_DIR and
;; CMAKE_BINARY_DIR.
(lambda _
(let ((doc (string-append #$output:doc "/share/doc/"
#$name "-" #$version)))
(for-each delete-file
(map (lambda (f) (string-append doc "/" f))
'("detailed.log" "summary.log")))))))))
))
(package
(inherit gnu:dealii)
(version "9.6.0")
(name "glicid-dealii")
(arguments
(list #:build-type "Release"
#:tests? #f
#:configure-flags
#~(let ((doc (string-append #$output:doc "/share/doc/"
#$name "-" #$version)))
(list "-DDEAL_II_COMPONENT_DOCUMENTATION=OFF"
(string-append "-DCMAKE_CXX_FLAGS='-march=znver3'")
(string-append "-DDEAL_II_DOCREADME_RELDIR=" doc)
(string-append "-DDEAL_II_DOCHTML_RELDIR=" doc "/html")
"-DDEAL_II_COMPILE_EXAMPLES=OFF"
(string-append "-DDEAL_II_EXAMPLES_RELDIR=" doc
"/examples")))
#:phases
#~(modify-phases %standard-phases
(add-after 'set-paths 'unset-cpath
(lambda _
(unsetenv "CPATH")))
(add-after 'install 'remove-build-logs
(lambda _
(let ((doc (string-append #$output:doc "/share/doc/"
#$name "-" #$version)))
(for-each delete-file
(map (lambda (f) (string-append doc "/" f))
'("detailed.log" "summary.log"))))))))) ))
(define trilinos-for-dealii-openmpi
(@@ (gnu packages maths) trilinos-for-dealii-openmpi))
(define-public glicid-dealii-openmpi
(package
(inherit glicid-dealii)
(name "glicid-dealii-openmpi")
(inputs
(modify-inputs (package-inputs glicid-dealii)
(delete "arpack")
(prepend gnu:arpack-ng-openmpi
gnu:metis
gnu:scalapack)))
(propagated-inputs
(modify-inputs (package-propagated-inputs glicid-dealii)
(delete "hdf5" "kokkos" "sundials")
(prepend gnu:hdf5-parallel-openmpi
openmpi
gnu:p4est-openmpi
gnu:petsc-openmpi
gnu:slepc-openmpi
gnu:sundials-openmpi
trilinos-for-dealii-openmpi)))
(arguments
(substitute-keyword-arguments (package-arguments glicid-dealii)
((#:configure-flags flags)
#~(cons "-DDEAL_II_WITH_MPI=ON" #$flags))
((#:phases phases #~%standard-phases)
#~(modify-phases #$phases
;; The build failure fixed by this phase does not manifest when
;; Kokkos is included via Trilinos.
(delete 'unset-cpath)))))
(synopsis "Finite element library (with MPI support)")))
(package
(inherit glicid-dealii)
(name "glicid-dealii-openmpi")
(inputs
(modify-inputs (package-inputs glicid-dealii)
(delete "arpack")
(prepend gnu:arpack-ng-openmpi
gnu:metis
gnu:scalapack)))
(propagated-inputs
(modify-inputs (package-propagated-inputs glicid-dealii)
(delete "hdf5" "kokkos" "sundials")
(prepend gnu:hdf5-parallel-openmpi
openmpi
gnu:p4est-openmpi
gnu:petsc-openmpi
gnu:slepc-openmpi
gnu:sundials-openmpi
trilinos-for-dealii-openmpi)))
(arguments
(substitute-keyword-arguments (package-arguments glicid-dealii)
((#:configure-flags flags)
#~(cons "-DDEAL_II_WITH_MPI=ON" #$flags))
((#:phases phases #~%standard-phases)
#~(modify-phases #$phases
(delete 'unset-cpath)))))
(synopsis "Finite element library (with MPI support)")))

View file

@ -17,8 +17,6 @@
(method url-fetch)
(uri (string-append "https://cdn.zabbix.com/zabbix/sources/stable/" (version-major+minor version) "/zabbix-" version ".tar.gz"))
(sha256 (base32 %zabbix-hash))
;; YD upstream now able to cope with 2.17 timescaledb
;; (patches (search-patches "glicid/packages/patches/glicid-zabbix-timescaledb-2.17.patch"))
(modules '((guix build utils)))
(snippet
'(substitute* '("src/zabbix_proxy/proxy.c" "src/zabbix_server/server.c")
@ -34,8 +32,6 @@
(method url-fetch)
(uri (string-append "https://cdn.zabbix.com/zabbix/sources/stable/" (version-major+minor version) "/zabbix-" version ".tar.gz"))
(sha256 (base32 %zabbix-hash))
;; YD upstream now able to cope with 2.17 timescaledb
;; (patches (search-patches "glicid/packages/patches/glicid-zabbix-timescaledb-2.17.patch"))
(modules '((guix build utils)))
(snippet
'(substitute* '("src/zabbix_proxy/proxy.c" "src/zabbix_server/server.c")
@ -51,8 +47,6 @@
(method url-fetch)
(uri (string-append "https://cdn.zabbix.com/zabbix/sources/stable/" (version-major+minor version) "/zabbix-" version ".tar.gz"))
(sha256 (base32 %zabbix-hash))
;; YD upstream now able to cope with 2.17 timescaledb
;; (patches (search-patches "glicid/packages/patches/glicid-zabbix-timescaledb-2.17.patch"))
(modules '((guix build utils)))
(snippet
'(substitute* '("src/zabbix_proxy/proxy.c" "src/zabbix_server/server.c")

View file

@ -1,18 +1,15 @@
(define-module (glicid packages mpi)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module ((gnu packages mpi)
#:prefix gnu:)
#:use-module (glicid packages linux)
#:use-module (glicid packages fabric-management)
#:use-module (glicid utils)
#:use-module (guix utils)
#:use-module (glicid packages parallel)
#:use-module (gnu packages))
#:use-module (guix packages)
#:use-module (guix download)
#:use-module ((gnu packages mpi) #:prefix gnu:)
#:use-module (glicid packages linux)
#:use-module (glicid packages fabric-management)
#:use-module (glicid utils)
#:use-module (guix utils)
#:use-module (glicid packages parallel)
#:use-module (gnu packages))
(define-public openmpi-glicid
(package
(inherit gnu:openmpi-4)
(name "openmpi-glicid")
))
(package
(inherit gnu:openmpi-4)
(name "openmpi-glicid")))

View file

@ -1,67 +1,63 @@
(define-module (glicid packages nfs)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (gnu packages perl)
#:use-module (gnu packages shells)
#:use-module (gnu packages python)
#:use-module (gnu packages kerberos)
#:use-module (gnu packages gsasl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages flex)
#:use-module (gnu packages bison)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages file-systems)
#:use-module (gnu packages linux)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages storage)
;; #:use-module (glicid packages storage)
)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (gnu packages perl)
#:use-module (gnu packages shells)
#:use-module (gnu packages python)
#:use-module (gnu packages kerberos)
#:use-module (gnu packages gsasl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages flex)
#:use-module (gnu packages bison)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages file-systems)
#:use-module (gnu packages linux)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages storage)
;; #:use-module (glicid packages storage)
)
(define-public nfs-ganesha
(package
(name "nfs-ganesha")
(version "3.5")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nfs-ganesha/nfs-ganesha.git")
(commit (string-append "V" version))
(recursive? #t)))
(sha256
(base32
"0rdg3mjqrr4a8mywxkfis25gkbn4fylw42hg1d9cvp4dwrjk3hl4"))
(file-name (string-append name "-" version "-checkout"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags (list (string-append "-DLIB_INSTALL_DIR="
(assoc-ref %outputs "out")
"/lib"))
#:phases (modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _
(chdir "src") #t)))))
(inputs `(("perl" ,perl)
("oksh" ,oksh)
("python-3" ,python-3)
("mit-krb5" ,mit-krb5)
("gss" ,gss)
("pkg-config" ,pkg-config)
("jemalloc" ,jemalloc)
("ceph:lib" ,ceph "lib")
("libnfsidmap" ,libnfsidmap)
("libnfs" ,libnfs)
("liburcu" ,liburcu)
("bison" ,bison)
("flex" ,flex)
("libnsl" ,libnsl)
("util-linux" ,util-linux "lib")))
(synopsis "nfs-ganesha")
(description "NFS-Ganesha.")
(home-page "https://")
(license license:gpl3+)))
(package
(name "nfs-ganesha")
(version "3.5")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nfs-ganesha/nfs-ganesha.git")
(commit (string-append "V" version))
(recursive? #t)))
(sha256 (base32 "0rdg3mjqrr4a8mywxkfis25gkbn4fylw42hg1d9cvp4dwrjk3hl4"))
(file-name (string-append name "-" version "-checkout"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags (list (string-append "-DLIB_INSTALL_DIR=" (assoc-ref %outputs "out") "/lib"))
#:phases (modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _
(chdir "src") #t)))))
(inputs `(("perl" ,perl)
("oksh" ,oksh)
("python-3" ,python-3)
("mit-krb5" ,mit-krb5)
("gss" ,gss)
("pkg-config" ,pkg-config)
("jemalloc" ,jemalloc)
("ceph:lib" ,ceph "lib")
("libnfsidmap" ,libnfsidmap)
("libnfs" ,libnfs)
("liburcu" ,liburcu)
("bison" ,bison)
("flex" ,flex)
("libnsl" ,libnsl)
("util-linux" ,util-linux "lib")))
(synopsis "nfs-ganesha")
(description "NFS-Ganesha.")
(home-page "https://")
(license license:gpl3+)))

View file

@ -31,7 +31,7 @@
(uri (list (string-append "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-" version ".tgz")))
(sha256 (base32 "184ywcpw9gbrllp1a1q9a6g7aq583phxnhj4cd1lv622yn69jbh8"))))
(build-system gnu-build-system)
(inputs (list argon2 cyrus-sasl openssl libevent libxcrypt libltdl lz4 perl snappy unixodbc wiredtiger zlib)) ;; YD : was libgcrypt ?? but broken (Sept 2024)
(inputs (list argon2 cyrus-sasl openssl libevent libxcrypt libltdl lz4 perl snappy unixodbc wiredtiger zlib))
(native-inputs (list bdb groff libtool pkg-config))
(arguments `(
#:tests? #f
@ -69,9 +69,7 @@
(sha256 (base32 "050fzcmxmf6y15dlcffc4gxr3wkk7fliqqwhlwqzbjwk8vkn3mn6"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags (list (string-append "--with-pam-seclib-dir="
(assoc-ref %outputs "out")
"/lib/security/")
`(#:configure-flags (list (string-append "--with-pam-seclib-dir=" (assoc-ref %outputs "out") "/lib/security/")
"--with-ldap-conf-file=/etc/nslcd.conf")
#:phases (modify-phases %standard-phases
(add-after 'unpack 'override-nslcd.conf-install-path

View file

@ -1,42 +1,35 @@
(define-module (glicid packages perf-monitoring)
#:use-module (guix)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system cmake)
#:use-module (gnu packages)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages linux)
#:use-module (gnu packages xdisorg)
#:use-module ((guix licenses) #:prefix license:)
#:export (nvtop))
#:use-module (guix)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system cmake)
#:use-module (gnu packages)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages linux)
#:use-module (gnu packages xdisorg)
#:use-module ((guix licenses) #:prefix license:)
#:export (nvtop))
(package
(name "nvtop")
(version "3.0.2")
(source
(name "nvtop")
(version "3.0.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/Syllo/nvtop/archive/refs/tags/" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"005f9dsaf3w0nck1r0h9mznv4svav8bc4l28f0h57zkmssi4byk3"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ; No tests available
#:configure-flags '("-DNVIDIA_SUPPORT=ON" "-DINTEL_SUPPORT=ON" "-DAMDGPU_SUPPORT=ON" "-DMSM_SUPPORT=ON")
)
)
(inputs
(method url-fetch)
(uri (string-append "https://github.com/Syllo/nvtop/archive/refs/tags/" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (base32 "005f9dsaf3w0nck1r0h9mznv4svav8bc4l28f0h57zkmssi4byk3"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ; No tests available
#:configure-flags '("-DNVIDIA_SUPPORT=ON" "-DINTEL_SUPPORT=ON" "-DAMDGPU_SUPPORT=ON" "-DMSM_SUPPORT=ON")))
(inputs
`(("ncurses" ,ncurses)
("pkg-config" ,pkg-config)
("eudev" ,eudev)
("libdrm" , libdrm)
))
(home-page "https://github.com/Syllo/nvtop")
(synopsis "NVIDIA GPUs htop like monitoring tool")
(description "Nvtop is a htop-like monitoring tool for NVIDIA GPUs. It can show a quick overview of the GPU usage and the list of processes using the GPU.")
(license license:expat)
)
("pkg-config" ,pkg-config)
("eudev" ,eudev)
("libdrm" , libdrm)))
(home-page "https://github.com/Syllo/nvtop")
(synopsis "NVIDIA GPUs htop like monitoring tool")
(description "Nvtop is a htop-like monitoring tool for NVIDIA GPUs. It can show a quick overview of the GPU usage and the list of processes using the GPU.")
(license license:expat))

View file

@ -1,25 +1,21 @@
(define-module (glicid packages perl)
#:use-module (guix build-system perl)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module (guix utils))
#:use-module (guix build-system perl)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module (guix utils))
(define-public perl-extutils-embed
(package
(name "perl-extutils-embed")
(version "1.14")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/D/DO/DOUGM/ExtUtils-Embed-"
version ".tar.gz"))
(sha256
(base32
"1w55q0wz6i4k9p500mc4wmr8jndnczb6qqrd2m1mrnx13v2mbr7h"))))
(build-system perl-build-system)
(arguments
'(#:tests? #f))
(home-page "https://metacpan.org/release/ExtUtils-Embed")
(synopsis "Utilities for embedding Perl in C/C++ applications")
(description "Utilities for embedding Perl in C/C++ applications")
(license #f)))
(package
(name "perl-extutils-embed")
(version "1.14")
(source (origin
(method url-fetch)
(uri (string-append "mirror://cpan/authors/id/D/DO/DOUGM/ExtUtils-Embed-" version ".tar.gz"))
(sha256 (base32 "1w55q0wz6i4k9p500mc4wmr8jndnczb6qqrd2m1mrnx13v2mbr7h"))))
(build-system perl-build-system)
(arguments
'(#:tests? #f))
(home-page "https://metacpan.org/release/ExtUtils-Embed")
(synopsis "Utilities for embedding Perl in C/C++ applications")
(description "Utilities for embedding Perl in C/C++ applications")
(license #f)))

View file

@ -1,386 +1,278 @@
(define-module (glicid packages php)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages aspell)
#:use-module (gnu packages base)
#:use-module (gnu packages bison)
#:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages cyrus-sasl)
#:use-module (gnu packages databases)
#:use-module (gnu packages dbm)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gd)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
#:use-module (gnu packages linux)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages openldap)
#:use-module (gnu packages pcre)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages readline)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages textutils)
#:use-module (gnu packages tls)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:))
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages aspell)
#:use-module (gnu packages base)
#:use-module (gnu packages bison)
#:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages cyrus-sasl)
#:use-module (gnu packages databases)
#:use-module (gnu packages dbm)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gd)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
#:use-module (gnu packages linux)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages openldap)
#:use-module (gnu packages pcre)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages readline)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages textutils)
#:use-module (gnu packages tls)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:))
(define-public php
(package
(name "php")
(version "7.4.30")
(home-page "https://secure.php.net/")
(source (origin
(method url-fetch)
(uri (string-append home-page "distributions/"
"php-" version ".tar.xz"))
(sha256
(base32
"03d7icwys4ikl45q3rgsxv1m3i7kfxhykpx75nn7jzn6697s6wpa"))
(patches (search-patches "glicid/packages/patches/php-bug-74093-test.patch"
"glicid/packages/patches/php-curl-compat.patch"))
(modules '((guix build utils)))
(snippet
'(with-directory-excursion "ext"
(for-each delete-file-recursively
;; Some of the bundled libraries have no proper upstream.
;; Ideally we'd extract these out as separate packages:
;;"mbstring/libmbfl"
;;"date/lib"
;;"bcmath/libbcmath"
;;"fileinfo/libmagic" ; a patched version of libmagic
'("gd/libgd"
"pcre/pcre2lib"
"xmlrpc/libxmlrpc"))))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
(let-syntax ((with (syntax-rules ()
((_ option input)
(string-append option "="
(assoc-ref %build-inputs input))))))
(list (with "--with-bz2" "bzip2")
(with "--with-curl" "curl")
(with "--with-gdbm" "gdbm")
(with "--with-gettext" "libc") ; libintl.h
(with "--with-gmp" "gmp")
(with "--with-ldap" "openldap")
(with "--with-ldap-sasl" "cyrus-sasl")
(with "--with-pdo-pgsql" "postgresql")
(with "--with-pdo-sqlite" "sqlite")
(with "--with-pgsql" "postgresql")
;; PHPs Pspell extension, while retaining its current name,
;; now uses the Aspell library.
(with "--with-pspell" "aspell")
(with "--with-readline" "readline")
(with "--with-sodium" "libsodium")
(with "--with-sqlite3" "sqlite")
(with "--with-tidy" "tidy")
(with "--with-xsl" "libxslt")
(with "--with-zlib-dir" "zlib")
;; We could add "--with-snmp", but it requires netsnmp that
;; we don't have a package for. It is used to build the snmp
;; extension of php.
"--with-external-pcre"
"--with-external-gd"
"--with-iconv"
"--with-openssl"
"--with-mysqli" ; Required for, e.g. wordpress
"--with-pdo-mysql"
"--with-zip"
"--with-zlib"
"--enable-bcmath" ; Required for, e.g. Zabbix frontend
"--enable-calendar"
"--enable-dba=shared"
"--enable-exif"
"--enable-flatfile"
"--enable-fpm"
"--enable-ftp"
"--enable-gd"
"--enable-inifile"
"--enable-intl"
"--enable-mbstring"
"--enable-pcntl"
"--enable-sockets"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'do-not-record-build-flags
(lambda _
;; Prevent configure flags from being stored and causing
;; unnecessary runtime dependencies.
(substitute* "scripts/php-config.in"
(("@CONFIGURE_OPTIONS@") "")
(("@PHP_LDFLAGS@") ""))
;; This file has ISO-8859-1 encoding.
(with-fluids ((%default-port-encoding "ISO-8859-1"))
(substitute* "main/build-defs.h.in"
(("@CONFIGURE_COMMAND@") "(omitted)")))))
(add-before 'build 'patch-/bin/sh
(lambda _
(substitute* '("run-tests.php" "ext/standard/proc_open.c")
(("/bin/sh") (which "sh")))))
(add-before 'check 'prepare-tests
(lambda _
;; Some of these files have ISO-8859-1 encoding, whereas others
;; use ASCII, so we can't use a "catch-all" find-files here.
(with-fluids ((%default-port-encoding "ISO-8859-1"))
(substitute* '("ext/mbstring/tests/mb_send_mail02.phpt"
"ext/mbstring/tests/mb_send_mail04.phpt"
"ext/mbstring/tests/mb_send_mail05.phpt"
"ext/mbstring/tests/mb_send_mail06.phpt")
(("/bin/cat") (which "cat"))))
(substitute* '("ext/mbstring/tests/mb_send_mail01.phpt"
"ext/mbstring/tests/mb_send_mail03.phpt"
"ext/mbstring/tests/bug52681.phpt"
"ext/standard/tests/general_functions/bug34794.phpt"
"ext/standard/tests/general_functions/bug44667.phpt"
"ext/standard/tests/general_functions/proc_open.phpt")
(("/bin/cat") (which "cat")))
;; The encoding of this file is not recognized, so we simply drop it.
(delete-file "ext/mbstring/tests/mb_send_mail07.phpt")
(substitute* "ext/standard/tests/streams/bug60602.phpt"
(("'ls'") (string-append "'" (which "ls") "'")))
,@(if (string-prefix? "arm" (or (%current-system)
(%current-target-system)))
;; Drop tests known to fail on armhf.
'((for-each delete-file
(list
"ext/calendar/tests/unixtojd_error1.phpt"
;; arm can be a lot slower, so a time-related test fails
"ext/fileinfo/tests/cve-2014-3538-nojit.phpt"
"ext/pcntl/tests/pcntl_unshare_01.phpt"
"ext/pcre/tests/bug76514.phpt"
"ext/pcre/tests/preg_match_error3.phpt"
"ext/pcre/tests/cache_limit.phpt"
"ext/sockets/tests/socket_getopt.phpt"
"ext/sockets/tests/socket_sendrecvmsg_error.phpt"
"ext/standard/tests/general_functions/var_export-locale.phpt"
"ext/standard/tests/general_functions/var_export_basic1.phpt"
"ext/intl/tests/timezone_getErrorCodeMessage_basic.phpt"
"ext/intl/tests/timezone_getOffset_error.phpt"
"sapi/cli/tests/cli_process_title_unix.phpt"
"sapi/cli/tests/upload_2G.phpt"
"Zend/tests/concat_003.phpt")))
'())
,@(if (target-ppc64le?)
;; Drop tests known to fail on powerpc64le.
'((for-each delete-file
(list
;; phpdbg watchpoints don't work.
;; Bug tracked upstream at:
;; https://bugs.php.net/bug.php?id=81408
"sapi/phpdbg/tests/watch_001.phpt"
"sapi/phpdbg/tests/watch_003.phpt"
"sapi/phpdbg/tests/watch_004.phpt"
"sapi/phpdbg/tests/watch_005.phpt"
"sapi/phpdbg/tests/watch_006.phpt")))
'())
;; Drop tests that are known to fail.
(for-each delete-file
'("ext/posix/tests/posix_getgrgid.phpt" ; Requires /etc/group.
"ext/posix/tests/posix_getgrnam_basic.phpt" ; Requires /etc/group.
"ext/sockets/tests/bug63000.phpt" ; Fails to detect OS.
"ext/sockets/tests/socket_shutdown.phpt" ; Requires DNS.
"ext/sockets/tests/socket_send.phpt" ; Likewise.
"ext/sockets/tests/mcast_ipv4_recv.phpt" ; Requires multicast.
;; These needs /etc/services.
"ext/standard/tests/general_functions/getservbyname_basic.phpt"
"ext/standard/tests/general_functions/getservbyport_basic.phpt"
"ext/standard/tests/general_functions/getservbyport_variation1.phpt"
;; And /etc/protocols.
"ext/standard/tests/network/getprotobyname_basic.phpt"
"ext/standard/tests/network/getprotobynumber_basic.phpt"
;; And exotic locales.
"ext/standard/tests/strings/setlocale_basic1.phpt"
"ext/standard/tests/strings/setlocale_basic2.phpt"
"ext/standard/tests/strings/setlocale_basic3.phpt"
"ext/standard/tests/strings/setlocale_variation1.phpt"
;; This failing test is skipped on PHP's Travis CI as it is
;; supposedly inaccurate.
"ext/standard/tests/file/disk_free_space_basic.phpt"
;; The following test erroneously expect the link
;; count of a sub-directory to increase compared to
;; its parent.
"ext/standard/tests/file/lstat_stat_variation8.phpt"
;; This tests whether microseconds differ enough and
;; fails inconsistently on fast machines.
"ext/date/tests/bug73837.phpt"
;; XXX: These gd tests fails. Likely because our version
;; is different from the (patched) bundled one.
;; Here, gd quits immediately after "fatal libpng error"; while the
;; test expects it to additionally return a "setjmp" error and warning.
"ext/gd/tests/bug39780_extern.phpt"
"ext/gd/tests/libgd00086_extern.phpt"
;; Extra newline in gd-png output.
"ext/gd/tests/bug45799.phpt"
;; Test expects generic "gd warning" but gets the actual function name.
"ext/gd/tests/createfromwbmp2_extern.phpt"
;; This bug should have been fixed in gd 2.2.2.
;; Is it a regression?
"ext/gd/tests/bug65148.phpt"
;; This bug should have been fixed in the gd 2.2
;; series. Perhaps a regression introduced by gd
;; 2.3.0?
"ext/gd/tests/bug66590.phpt"
;; This bug should have been fixed in the php-5.5
;; series. Perhaps a regression introduced by gd
;; 2.3.0?
"ext/gd/tests/bug70102.phpt"
;; This bug should have been fixed in the php-5.6
;; series. Perhaps a regression introduced by gd
;; 2.3.0?
"ext/gd/tests/bug73869.phpt"
;; Some WebP related tests fail.
"ext/gd/tests/webp_basic.phpt"
"ext/gd/tests/imagecreatefromstring_webp.phpt"
;; Expected error message, but from the wrong function
"ext/gd/tests/bug77269.phpt"
;; TODO: Enable these when libgd is built with xpm support.
"ext/gd/tests/xpm2gd.phpt"
"ext/gd/tests/xpm2jpg.phpt"
"ext/gd/tests/xpm2png.phpt"
;; Whitespace difference, probably caused by a very
;; long store path
"ext/gd/tests/bug77479.phpt"
;; Expected invalid XBM but got EOF before image was
;; complete. It's a warning in both cases and test
;; result is the same.
"ext/gd/tests/bug77973.phpt"
;; Test expects uninitialized value to be false, but
;; instead gets "resource(5) of type (gd)".
"ext/gd/tests/bug79067.phpt"
;; The following test fails with "The image size
;; differs: expected 114x115, got 117x117".
"ext/gd/tests/bug79068.phpt"
;; XXX: These iconv tests have the expected outcome,
;; but with different error messages.
;; Expects "illegal character", instead gets "unknown error (84)".
"ext/iconv/tests/bug52211.phpt"
"ext/iconv/tests/bug60494.phpt"
;; Expects "wrong charset", gets unknown error (22).
"ext/iconv/tests/iconv_strlen_error2.phpt"
"ext/iconv/tests/iconv_substr_error2.phpt"
;; Expects conversion error, gets "error condition Termsig=11".
"ext/iconv/tests/iconv_strpos_error2.phpt"
"ext/iconv/tests/iconv_strrpos_error2.phpt"
;; Expects "invalid multibyte sequence" but got
;; "unknown error".
"ext/iconv/tests/bug76249.phpt"
;; XXX: These test failures appear legitimate, needs investigation.
;; open_basedir() restriction failure.
"ext/curl/tests/bug61948-unix.phpt"
;; Expects a false boolean, gets empty array from glob().
"ext/standard/tests/file/bug41655_1.phpt"
"ext/standard/tests/file/glob_variation5.phpt"
;; The test expects an Array, but instead get the contents(?).
"ext/gd/tests/bug43073.phpt"
;; imagettftext() returns wrong coordinates.
"ext/gd/tests/bug48732-mb.phpt"
"ext/gd/tests/bug48732.phpt"
;; Similarly for imageftbbox().
"ext/gd/tests/bug48801-mb.phpt"
"ext/gd/tests/bug48801.phpt"
;; Different expected output from imagecolorallocate().
"ext/gd/tests/bug53504.phpt"
;; Wrong image size after scaling an image.
"ext/gd/tests/bug73272.phpt"
;; Expects iconv to detect illegal characters, instead gets
;; "unknown error (84)" and heap corruption(!).
"ext/iconv/tests/bug48147.phpt"
;; Expects illegal character ".", gets "=?utf-8?Q?."
"ext/iconv/tests/bug51250.phpt"
;; iconv throws "buffer length exceeded" on some string checks.
"ext/iconv/tests/iconv_mime_encode.phpt"
;; file_get_contents(): iconv stream filter
;; ("ISO-8859-1"=>"UTF-8") unknown error.
"ext/standard/tests/file/bug43008.phpt"
;; Table data not created in sqlite(?).
"ext/pdo_sqlite/tests/bug_42589.phpt"
;; Expects an Array with 3 preg_matches; gets 0.
"ext/pcre/tests/bug79846.phpt"
;; Expects an empty Array; gets one with " " in it.
"ext/pcre/tests/bug80118.phpt"
;; Renicing a process fails in the build environment.
"ext/standard/tests/general_functions/proc_nice_basic.phpt"
;; Can fail on fast machines?
"Zend/tests/bug74093.phpt"))
;; Accomodate two extra openssl errors flanking the expected one:
;; random number generator:RAND_{load,write}_file:Cannot open file
;; This is due to an invalid $HOME, but changing it in the test
;; still prints the first one & changing it globally is overkill.
(substitute* "ext/openssl/tests/bug80747.phpt"
((".*error:%s:key size too small.*" match)
(string-append "%s\n" match "%s\n")))
;; Skip tests requiring network access.
(setenv "SKIP_ONLINE_TESTS" "1")
;; Without this variable, 'make test' passes regardless of failures.
(setenv "REPORT_EXIT_STATUS" "1")
;; Skip tests requiring I/O facilities that are unavailable in the
;; build environment
(setenv "SKIP_IO_CAPTURE_TESTS" "1"))))
#:test-target "test"))
(inputs
`(("aspell" ,aspell)
("bzip2" ,bzip2)
("curl" ,curl)
("cyrus-sasl" ,cyrus-sasl)
("gd" ,gd)
("gdbm" ,gdbm)
("gmp" ,gmp)
("gnutls" ,gnutls)
("icu4c" ,icu4c)
("libgcrypt" ,libgcrypt)
("libpng" ,libpng)
("libsodium" ,libsodium)
("libxml2" ,libxml2)
("libxslt" ,libxslt)
("libx11" ,libx11)
("libzip" ,libzip)
("oniguruma" ,oniguruma)
("openldap" ,openldap)
("openssl" ,openssl-1.1)
("pcre" ,pcre2)
("postgresql" ,postgresql)
("readline" ,readline)
("sqlite" ,sqlite)
("tidy" ,tidy)
("zlib" ,zlib)))
(native-inputs
`(("pkg-config" ,pkg-config)
("bison" ,bison)
("gettext" ,gettext-minimal)
("procps" ,procps))) ; for tests
(synopsis "PHP programming language")
(description
"PHP (PHP Hypertext Processor) is a server-side (CGI) scripting
language designed primarily for web development but is also used as
a general-purpose programming language. PHP code may be embedded into
HTML code, or it can be used in combination with various web template
systems, web content management systems and web frameworks." )
(license (list
(license:non-copyleft "file://LICENSE") ; The PHP license.
(license:non-copyleft "file://Zend/LICENSE") ; The Zend license.
license:lgpl2.1 ; ext/mbstring/libmbfl
license:lgpl2.1+ ; ext/bcmath/libbcmath
license:bsd-2 ; ext/fileinfo/libmagic
license:expat)))) ; ext/date/lib
php
(package
(name "php")
(version "7.4.30")
(home-page "https://secure.php.net/")
(source (origin
(method url-fetch)
(uri (string-append home-page "distributions/"
"php-" version ".tar.xz"))
(sha256
(base32
"03d7icwys4ikl45q3rgsxv1m3i7kfxhykpx75nn7jzn6697s6wpa"))
(patches (search-patches "glicid/packages/patches/php-bug-74093-test.patch"
"glicid/packages/patches/php-curl-compat.patch"))
(modules '((guix build utils)))
(snippet
'(with-directory-excursion "ext"
(for-each delete-file-recursively
'("gd/libgd"
"pcre/pcre2lib"
"xmlrpc/libxmlrpc"))))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
(let-syntax ((with (syntax-rules ()
((_ option input)
(string-append option "="
(assoc-ref %build-inputs input))))))
(list (with "--with-bz2" "bzip2")
(with "--with-curl" "curl")
(with "--with-gdbm" "gdbm")
(with "--with-gettext" "libc")
(with "--with-gmp" "gmp")
(with "--with-ldap" "openldap")
(with "--with-ldap-sasl" "cyrus-sasl")
(with "--with-pdo-pgsql" "postgresql")
(with "--with-pdo-sqlite" "sqlite")
(with "--with-pgsql" "postgresql")
(with "--with-pspell" "aspell")
(with "--with-readline" "readline")
(with "--with-sodium" "libsodium")
(with "--with-sqlite3" "sqlite")
(with "--with-tidy" "tidy")
(with "--with-xsl" "libxslt")
(with "--with-zlib-dir" "zlib")
"--with-external-pcre"
"--with-external-gd"
"--with-iconv"
"--with-openssl"
"--with-mysqli"
"--with-pdo-mysql"
"--with-zip"
"--with-zlib"
"--enable-bcmath"
"--enable-calendar"
"--enable-dba=shared"
"--enable-exif"
"--enable-flatfile"
"--enable-fpm"
"--enable-ftp"
"--enable-gd"
"--enable-inifile"
"--enable-intl"
"--enable-mbstring"
"--enable-pcntl"
"--enable-sockets"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'do-not-record-build-flags
(lambda _
(substitute* "scripts/php-config.in"
(("@CONFIGURE_OPTIONS@") "")
(("@PHP_LDFLAGS@") ""))
(with-fluids ((%default-port-encoding "ISO-8859-1"))
(substitute* "main/build-defs.h.in"
(("@CONFIGURE_COMMAND@") "(omitted)")))))
(add-before 'build 'patch-/bin/sh
(lambda _
(substitute* '("run-tests.php" "ext/standard/proc_open.c")
(("/bin/sh") (which "sh")))))
(add-before 'check 'prepare-tests
(lambda _
(with-fluids ((%default-port-encoding "ISO-8859-1"))
(substitute* '("ext/mbstring/tests/mb_send_mail02.phpt"
"ext/mbstring/tests/mb_send_mail04.phpt"
"ext/mbstring/tests/mb_send_mail05.phpt"
"ext/mbstring/tests/mb_send_mail06.phpt")
(("/bin/cat") (which "cat"))))
(substitute* '("ext/mbstring/tests/mb_send_mail01.phpt"
"ext/mbstring/tests/mb_send_mail03.phpt"
"ext/mbstring/tests/bug52681.phpt"
"ext/standard/tests/general_functions/bug34794.phpt"
"ext/standard/tests/general_functions/bug44667.phpt"
"ext/standard/tests/general_functions/proc_open.phpt")
(("/bin/cat") (which "cat")))
(delete-file "ext/mbstring/tests/mb_send_mail07.phpt")
(substitute* "ext/standard/tests/streams/bug60602.phpt"
(("'ls'") (string-append "'" (which "ls") "'")))
,@(if (string-prefix? "arm" (or (%current-system)
(%current-target-system)))
'((for-each delete-file
(list
"ext/calendar/tests/unixtojd_error1.phpt"
"ext/fileinfo/tests/cve-2014-3538-nojit.phpt"
"ext/pcntl/tests/pcntl_unshare_01.phpt"
"ext/pcre/tests/bug76514.phpt"
"ext/pcre/tests/preg_match_error3.phpt"
"ext/pcre/tests/cache_limit.phpt"
"ext/sockets/tests/socket_getopt.phpt"
"ext/sockets/tests/socket_sendrecvmsg_error.phpt"
"ext/standard/tests/general_functions/var_export-locale.phpt"
"ext/standard/tests/general_functions/var_export_basic1.phpt"
"ext/intl/tests/timezone_getErrorCodeMessage_basic.phpt"
"ext/intl/tests/timezone_getOffset_error.phpt"
"sapi/cli/tests/cli_process_title_unix.phpt"
"sapi/cli/tests/upload_2G.phpt"
"Zend/tests/concat_003.phpt")))
'())
,@(if (target-ppc64le?)
'((for-each delete-file
(list
"sapi/phpdbg/tests/watch_001.phpt"
"sapi/phpdbg/tests/watch_003.phpt"
"sapi/phpdbg/tests/watch_004.phpt"
"sapi/phpdbg/tests/watch_005.phpt"
"sapi/phpdbg/tests/watch_006.phpt")))
'())
(for-each delete-file
'("ext/posix/tests/posix_getgrgid.phpt"
"ext/posix/tests/posix_getgrnam_basic.phpt"
"ext/sockets/tests/bug63000.phpt"
"ext/sockets/tests/socket_shutdown.phpt"
"ext/sockets/tests/socket_send.phpt"
"ext/sockets/tests/mcast_ipv4_recv.phpt"
"ext/standard/tests/general_functions/getservbyname_basic.phpt"
"ext/standard/tests/general_functions/getservbyport_basic.phpt"
"ext/standard/tests/general_functions/getservbyport_variation1.phpt"
"ext/standard/tests/network/getprotobyname_basic.phpt"
"ext/standard/tests/network/getprotobynumber_basic.phpt"
"ext/standard/tests/strings/setlocale_basic1.phpt"
"ext/standard/tests/strings/setlocale_basic2.phpt"
"ext/standard/tests/strings/setlocale_basic3.phpt"
"ext/standard/tests/strings/setlocale_variation1.phpt"
"ext/standard/tests/file/disk_free_space_basic.phpt"
"ext/standard/tests/file/lstat_stat_variation8.phpt"
"ext/date/tests/bug73837.phpt"
"ext/gd/tests/bug39780_extern.phpt"
"ext/gd/tests/libgd00086_extern.phpt"
"ext/gd/tests/bug45799.phpt"
"ext/gd/tests/createfromwbmp2_extern.phpt"
"ext/gd/tests/bug65148.phpt"
"ext/gd/tests/bug66590.phpt"
"ext/gd/tests/bug70102.phpt"
"ext/gd/tests/bug73869.phpt"
"ext/gd/tests/webp_basic.phpt"
"ext/gd/tests/imagecreatefromstring_webp.phpt"
"ext/gd/tests/bug77269.phpt"
"ext/gd/tests/xpm2gd.phpt"
"ext/gd/tests/xpm2jpg.phpt"
"ext/gd/tests/xpm2png.phpt"
"ext/gd/tests/bug77479.phpt"
"ext/gd/tests/bug77973.phpt"
"ext/gd/tests/bug79067.phpt"
"ext/gd/tests/bug79068.phpt"
"ext/iconv/tests/bug52211.phpt"
"ext/iconv/tests/bug60494.phpt"
"ext/iconv/tests/iconv_strlen_error2.phpt"
"ext/iconv/tests/iconv_substr_error2.phpt"
"ext/iconv/tests/iconv_strpos_error2.phpt"
"ext/iconv/tests/iconv_strrpos_error2.phpt"
"ext/iconv/tests/bug76249.phpt"
"ext/curl/tests/bug61948-unix.phpt"
"ext/standard/tests/file/bug41655_1.phpt"
"ext/standard/tests/file/glob_variation5.phpt"
"ext/gd/tests/bug43073.phpt"
"ext/gd/tests/bug48732-mb.phpt"
"ext/gd/tests/bug48732.phpt"
"ext/gd/tests/bug48801-mb.phpt"
"ext/gd/tests/bug48801.phpt"
"ext/gd/tests/bug53504.phpt"
"ext/gd/tests/bug73272.phpt"
"ext/iconv/tests/bug48147.phpt"
"ext/iconv/tests/bug51250.phpt"
"ext/iconv/tests/iconv_mime_encode.phpt"
"ext/standard/tests/file/bug43008.phpt"
"ext/pdo_sqlite/tests/bug_42589.phpt"
"ext/pcre/tests/bug79846.phpt"
"ext/pcre/tests/bug80118.phpt"
"ext/standard/tests/general_functions/proc_nice_basic.phpt"
"Zend/tests/bug74093.phpt"))
(substitute* "ext/openssl/tests/bug80747.phpt"
((".*error:%s:key size too small.*" match)
(string-append "%s\n" match "%s\n")))
(setenv "SKIP_ONLINE_TESTS" "1")
(setenv "REPORT_EXIT_STATUS" "1")
(setenv "SKIP_IO_CAPTURE_TESTS" "1"))))
#:test-target "test"))
(inputs
`(("aspell" ,aspell)
("bzip2" ,bzip2)
("curl" ,curl)
("cyrus-sasl" ,cyrus-sasl)
("gd" ,gd)
("gdbm" ,gdbm)
("gmp" ,gmp)
("gnutls" ,gnutls)
("icu4c" ,icu4c)
("libgcrypt" ,libgcrypt)
("libpng" ,libpng)
("libsodium" ,libsodium)
("libxml2" ,libxml2)
("libxslt" ,libxslt)
("libx11" ,libx11)
("libzip" ,libzip)
("oniguruma" ,oniguruma)
("openldap" ,openldap)
("openssl" ,openssl-1.1)
("pcre" ,pcre2)
("postgresql" ,postgresql)
("readline" ,readline)
("sqlite" ,sqlite)
("tidy" ,tidy)
("zlib" ,zlib)))
(native-inputs
`(("pkg-config" ,pkg-config)
("bison" ,bison)
("gettext" ,gettext-minimal)
("procps" ,procps)))
(synopsis "PHP programming language")
(description
"PHP (PHP Hypertext Processor) is a server-side (CGI) scripting
language designed primarily for web development but is also used as
a general-purpose programming language. PHP code may be embedded into
HTML code, or it can be used in combination with various web template
systems, web content management systems and web frameworks.")
(license (list
(license:non-copyleft "file://LICENSE")
(license:non-copyleft "file://Zend/LICENSE")
license:lgpl2.1
license:lgpl2.1+
license:bsd-2
license:expat))))

View file

@ -1,86 +1,77 @@
(define-module (glicid packages python-science)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module (guix build-system python)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-build)
#:use-module (gnu packages check)
#:use-module (gnu packages geo)
#:use-module (gnu packages python-check))
#:use-module (guix download)
#:use-module (guix packages)
#:use-module (guix build-system python)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-build)
#:use-module (gnu packages check)
#:use-module (gnu packages geo)
#:use-module (gnu packages python-check))
(define-public python-snuggs
(package
(name "python-snuggs")
(version "1.4.7")
(source (origin
(method url-fetch)
(uri (pypi-uri "snuggs" version))
(sha256
(base32
"0yv1wayrw9g6k0c2f721kha7wsv0s1fdlxpf5x7f34iqzq9z272h"))))
(build-system python-build-system)
(propagated-inputs (list python-numpy python-pyparsing))
(native-inputs (list python-hypothesis python-pytest))
(home-page "https://github.com/mapbox/snuggs")
(synopsis "Snuggs are s-expressions for Numpy")
(description "Snuggs are s-expressions for Numpy")
(license license:expat)))
(package
(name "python-snuggs")
(version "1.4.7")
(source (origin
(method url-fetch)
(uri (pypi-uri "snuggs" version))
(sha256 (base32 "0yv1wayrw9g6k0c2f721kha7wsv0s1fdlxpf5x7f34iqzq9z272h"))))
(build-system python-build-system)
(propagated-inputs (list python-numpy python-pyparsing))
(native-inputs (list python-hypothesis python-pytest))
(home-page "https://github.com/mapbox/snuggs")
(synopsis "Snuggs are s-expressions for Numpy")
(description "Snuggs are s-expressions for Numpy")
(license license:expat)))
(define-public python-affine
(package
(name "python-affine")
(version "2.3.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "affine" version))
(sha256
(base32
"1l5x66jdrlhaxp9fllkjzfq3bz4xx1a0yknrzycszmks2mkdwxnn"))))
(build-system python-build-system)
(native-inputs (list python-coveralls python-flake8 python-pydocstyle
python-pytest python-pytest-cov))
(home-page "https://github.com/sgillies/affine")
(synopsis "Matrices describing affine transformation of the plane.")
(description "Matrices describing affine transformation of the plane.")
(license license:bsd-3)))
;; un tout petit peu de modifications à faire ici
(package
(name "python-affine")
(version "2.3.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "affine" version))
(sha256 (base32 "1l5x66jdrlhaxp9fllkjzfq3bz4xx1a0yknrzycszmks2mkdwxnn"))))
(build-system python-build-system)
(native-inputs (list python-coveralls python-flake8 python-pydocstyle
python-pytest python-pytest-cov))
(home-page "https://github.com/sgillies/affine")
(synopsis "Matrices describing affine transformation of the plane.")
(description "Matrices describing affine transformation of the plane.")
(license license:bsd-3)))
(define-public python-rasterio
(package
(name "python-rasterio")
(version "1.3.4")
(source (origin
(method url-fetch)
(uri (pypi-uri "rasterio" version))
(sha256
(base32
"1a21k86g325ks0vllzn9ry6pf8gch45bs9z9iq5z1v3na90731ss"))))
(build-system python-build-system)
(arguments
'(#:tests? #f))
(package
(name "python-rasterio")
(version "1.3.4")
(source (origin
(method url-fetch)
(uri (pypi-uri "rasterio" version))
(sha256 (base32 "1a21k86g325ks0vllzn9ry6pf8gch45bs9z9iq5z1v3na90731ss"))))
(build-system python-build-system)
(arguments
'(#:tests? #f))
(propagated-inputs (list python-affine
python-attrs
python-certifi
python-click
python-click-plugins
python-cligj
python-numpy
python-setuptools
python-snuggs))
(native-inputs (list python-boto3
python-hypothesis
python-packaging
python-pytest
python-pytest-cov
python-cython
gdal
python-shapely))
(home-page "https://github.com/rasterio/rasterio")
(synopsis "Fast and direct raster I/O for use with Numpy and SciPy")
(description "Fast and direct raster I/O for use with Numpy and SciPy")
(license license:bsd-3)))
(propagated-inputs (list python-affine
python-attrs
python-certifi
python-click
python-click-plugins
python-cligj
python-numpy
python-setuptools
python-snuggs))
(native-inputs (list python-boto3
python-hypothesis
python-packaging
python-pytest
python-pytest-cov
python-cython
gdal
python-shapely))
(home-page "https://github.com/rasterio/rasterio")
(synopsis "Fast and direct raster I/O for use with Numpy and SciPy")
(description "Fast and direct raster I/O for use with Numpy and SciPy")
(license license:bsd-3)))

View file

@ -4,7 +4,7 @@
#:use-module (guix download)
#:use-module (guix packages)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages version-control)
#:use-module (gnu packages version-control)
#:use-module (gnu packages python-web)
#:use-module (gnu packages check)
#:use-module (gnu packages python-build)
@ -42,8 +42,7 @@
(propagated-inputs (list python-markupsafe))
(home-page "https://palletsprojects.com/p/jinja/")
(synopsis "A very fast and expressive template engine.")
(description
"This package provides a very fast and expressive template engine.")
(description "This package provides a very fast and expressive template engine.")
(license #f)))
(define-public python-pyyaml
@ -68,9 +67,7 @@
(source (origin
(method url-fetch)
(uri (pypi-uri "setuptools_scm" version))
(sha256
(base32
"09wg4zg30ir1c2cvwqipaz3hwaxz503fgw5zdvaxgakilx2q6l3c"))))
(sha256 (base32 "09wg4zg30ir1c2cvwqipaz3hwaxz503fgw5zdvaxgakilx2q6l3c"))))
(build-system python-build-system)
(propagated-inputs (list python-importlib-metadata python-packaging
python-setuptools python-tomli
@ -82,27 +79,19 @@
(license license:expat)))
(define-public python-podman-compose
(package
(name "podman-compose")
(version "1.0.6")
(source
(origin
(method url-fetch)
(uri (pypi-uri "podman-compose" version))
(sha256
(base32 "1rd29mysfdlbvn0m9zfyp2n0v5lch0bsj4fmzyjaal6akw23bcid"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-dotenv python-pyyaml slirp4netns iptables))
(native-inputs (list python-black python-flake8 python-pre-commit
python-pylint))
(home-page "https://github.com/containers/podman-compose")
(synopsis "A script to run docker-compose.yml using podman")
(description
"This package provides a script to run docker-compose.yml using podman")
(license #f))
)
(package
(name "podman-compose")
(version "1.0.6")
(source
(origin
(method url-fetch)
(uri (pypi-uri "podman-compose" version))
(sha256 (base32 "1rd29mysfdlbvn0m9zfyp2n0v5lch0bsj4fmzyjaal6akw23bcid"))))
(build-system pyproject-build-system)
(propagated-inputs (list python-dotenv python-pyyaml slirp4netns iptables))
(native-inputs (list python-black python-flake8 python-pre-commit
python-pylint))
(home-page "https://github.com/containers/podman-compose")
(synopsis "A script to run docker-compose.yml using podman")
(description "This package provides a script to run docker-compose.yml using podman")
(license #f)))

View file

@ -1,5 +1,3 @@
(define-module (glicid packages r))
(define-public R (@@ (gnu packages statistics) r-with-tests))
R

View file

@ -1,157 +1,125 @@
(define-module (glicid packages science)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix build utils)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages qt)
#:use-module (gnu packages gl)
#:use-module (gnu packages boost)
#:use-module (gnu packages algebra)
#:use-module (gnu packages gdb)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages image-processing)
#:use-module (gnu packages graphics)
#:use-module (gnu packages maths)
#:use-module (gnu packages mpi)
#:use-module (gnu packages python)
; #:use-module (past packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages commencement)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages multiprecision)
#:use-module (glicid packages mpi)
#:use-module (glicid utils))
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix build utils)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages qt)
#:use-module (gnu packages gl)
#:use-module (gnu packages boost)
#:use-module (gnu packages algebra)
#:use-module (gnu packages gdb)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages image-processing)
#:use-module (gnu packages graphics)
#:use-module (gnu packages maths)
#:use-module (gnu packages mpi)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages commencement)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages multiprecision)
#:use-module (glicid packages mpi)
#:use-module (glicid utils))
(define-public loki
(package
(name "loki")
(version "0.1.7")
(source (origin
(method url-fetch)
(uri (string-append
"https://downloads.sourceforge.net/project/loki-lib/Loki/Loki%200.1.7/loki-"
version ".zip"))
(sha256
(base32
"0p23k4dipk5nnfpvhhqj9apz8rhnd62qdydjmzx8q78sxpwims4w"))))
(build-system gnu-build-system)
(inputs `(("gcc-toolchain" ,gcc-toolchain)))
(synopsis
"Loki is a C++ library of designs, containing flexible implementations of common design patterns and idioms.")
(description
"Loki is the name of a C++ software library written by Andrei Alexandrescu as part of his book Modern C++ Design.
The library makes extensive use of C++ template metaprogramming and implements several commonly used tools: typelist, functor, singleton, smart pointer, object factory, visitor and multimethods.")
(home-page "http://loki-lib.sourceforge.net/index.php?n=Main.HomePage")
(license gpl3+)))
;; was commented out… guix repl is ok… so uncomment right now
(package
(name "loki")
(version "0.1.7")
(source (origin
(method url-fetch)
(uri (string-append
"https://downloads.sourceforge.net/project/loki-lib/Loki/Loki%200.1.7/loki-"
version ".zip"))
(sha256 (base32 "0p23k4dipk5nnfpvhhqj9apz8rhnd62qdydjmzx8q78sxpwims4w"))))
(build-system gnu-build-system)
(inputs `(("gcc-toolchain" ,gcc-toolchain)))
(synopsis "Loki is a C++ library of designs, containing flexible implementations of common design patterns and idioms.")
(description "Loki is the name of a C++ software library written by Andrei Alexandrescu as part of his book Modern C++ Design.
The library makes extensive use of C++ template metaprogramming and implements several commonly used tools: typelist, functor, singleton, smart pointer, object factory, visitor and multimethods.")
(home-page "http://loki-lib.sourceforge.net/index.php?n=Main.HomePage")
(license gpl3+)))
(define-public yade-2022.01a
(package
(name "yade")
(version "2022.01a")
(source (origin
(method url-fetch)
(uri (string-append
"https://gitlab.com/yade-dev/trunk/-/archive/2022.01a/trunk-"
version ".tar.gz"))
(sha256
(base32
"0k4hnvi70cqzl0q54kkbij6jwxydhfwcacp9s49n3fkaf1dihxiv"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags (list "-DENABLE_POTENTIAL_BLOCKS=OFF"
(string-append "-DCMAKE_INSTALL_PREFIX="
(assoc-ref %outputs "out"))
(string-append "-DQGLVIEWER_INCLUDE_DIR="
(assoc-ref %build-inputs
"libqglviewer")))
;; (string-append "-DQGLVIEWER_INCLUDE_DIR="
;; libqglviewer))))
#:phases (modify-phases %standard-phases
(add-after 'unpack 'post-unpack
(lambda* (#:key outputs inputs #:allow-other-keys)
(mkdir-p "./build")
(chdir "./build")))
(replace 'configure
(lambda* (#:key inputs outputs configure-flags
#:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(apply invoke "cmake" "../" configure-flags)))))
#:tests? #f))
;; (lambda _ (invoke
;; "cmake" "../trunk"
;; configure-flags))))))
(propagated-inputs `(("gdb" ,gdb)
("sqlite" ,sqlite)
("openmpi" ,openmpi)
("python" ,python) ;; beware python 3.10 is *NOT* supported
("python-numpy" ,python-numpy)
("python-matplotlib" ,python-matplotlib)
("python-sphinx" ,python-sphinx)
("python-ipython" ,python-ipython)
("python-mpi4py" ,python-mpi4py)
("python-mpmath" ,python-mpmath)
("python-pygraphviz" ,python-pygraphviz)
("python-xlib" ,python-xlib)
("python-future" ,python-future)
("python-pyqt" ,python-pyqt)
("python-pyqtwebengine" ,python-pyqtwebengine)
("python-qtpy" ,python-qtpy)))
(inputs `(("boost" ,boost)
("qtbase-5" ,qtbase-5)
;; ("qt" ,qt)
("freeglut" ,freeglut)
("gts" ,gts)
("pkg-config" ,pkg-config)
("libqglviewer" ,libqglviewer)
("eigen" ,eigen)
;; ("loki" ,loki)
;; ("vtk" ,vtk)
;; ("qtwebkit" ,qtwebkit)
("openblas" ,openblas)
("suitesparse" ,suitesparse)
("gcc-toolchain" ,gcc-toolchain)
("metis" ,metis)
("cgal" ,cgal)
("qtsvg" ,qtsvg)
("qtwebengine" ,qtwebengine)
("mpfr" ,mpfr)))
(package
(name "yade")
(version "2022.01a")
(source (origin
(method url-fetch)
(uri (string-append "https://gitlab.com/yade-dev/trunk/-/archive/2022.01a/trunk-" version ".tar.gz"))
(sha256 (base32 "0k4hnvi70cqzl0q54kkbij6jwxydhfwcacp9s49n3fkaf1dihxiv"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags (list "-DENABLE_POTENTIAL_BLOCKS=OFF"
(string-append "-DCMAKE_INSTALL_PREFIX=" (assoc-ref %outputs "out"))
(string-append "-DQGLVIEWER_INCLUDE_DIR=" (assoc-ref %build-inputs "libqglviewer")))
#:phases (modify-phases %standard-phases
(add-after 'unpack 'post-unpack
(lambda* (#:key outputs inputs #:allow-other-keys)
(mkdir-p "./build")
(chdir "./build")))
(replace 'configure
(lambda* (#:key inputs outputs configure-flags
#:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(apply invoke "cmake" "../" configure-flags)))))
#:tests? #f))
(propagated-inputs `(("gdb" ,gdb)
("sqlite" ,sqlite)
("openmpi" ,openmpi)
("python" ,python)
("python-numpy" ,python-numpy)
("python-matplotlib" ,python-matplotlib)
("python-sphinx" ,python-sphinx)
("python-ipython" ,python-ipython)
("python-mpi4py" ,python-mpi4py)
("python-mpmath" ,python-mpmath)
("python-pygraphviz" ,python-pygraphviz)
("python-xlib" ,python-xlib)
("python-future" ,python-future)
("python-pyqt" ,python-pyqt)
("python-pyqtwebengine" ,python-pyqtwebengine)
("python-qtpy" ,python-qtpy)))
(inputs `(("boost" ,boost)
("qtbase-5" ,qtbase-5)
("freeglut" ,freeglut)
("gts" ,gts)
("pkg-config" ,pkg-config)
("libqglviewer" ,libqglviewer)
("eigen" ,eigen)
("openblas" ,openblas)
("suitesparse" ,suitesparse)
("gcc-toolchain" ,gcc-toolchain)
("metis" ,metis)
("cgal" ,cgal)
("qtsvg" ,qtsvg)
("qtwebengine" ,qtwebengine)
("mpfr" ,mpfr)))
(synopsis
"Yade is an extensible open-source framework for discrete numerical models, focused on Discrete Element Method.")
(description
"Yade is an extensible open-source framework for discrete numerical models, focused on Discrete Element Method. The computation parts are written in c++ using flexible object model, allowing independent implementation of new algorithms and interfaces. Python is used for rapid and concise scene construction, simulation control, postprocessing and debugging.")
(home-page "https://www.yade-dem.org/")
(license gpl3+)))
(synopsis "Yade is an extensible open-source framework for discrete numerical models, focused on Discrete Element Method.")
(description "Yade is an extensible open-source framework for discrete numerical models, focused on Discrete Element Method. The computation parts are written in c++ using flexible object model, allowing independent implementation of new algorithms and interfaces. Python is used for rapid and concise scene construction, simulation control, postprocessing and debugging.")
(home-page "https://www.yade-dem.org/")
(license gpl3+)))
(define-public yade-2023.02a
(package
(inherit yade-2022.01a)
(version "2023.02a")
(source (origin
(method url-fetch)
(uri (string-append
"https://gitlab.com/yade-dev/trunk/-/archive/2023.02a/trunk-"
version ".tar.gz"))
(sha256
(base32
"1hdhxyaqdavrwpvam759835zyhn49c777kclz9p720pjlw55lszp"))))))
(package
(inherit yade-2022.01a)
(version "2023.02a")
(source (origin
(method url-fetch)
(uri (string-append "https://gitlab.com/yade-dev/trunk/-/archive/2023.02a/trunk-" version ".tar.gz"))
(sha256 (base32 "1hdhxyaqdavrwpvam759835zyhn49c777kclz9p720pjlw55lszp"))))))
(define-public yade yade-2022.01a)
(define-public yade-glicid-waves
(package
; (inherit (transform-package ((instead-of "openmpi-glicid-waves" openmpi)
; yade) "waves"))
(inherit yade)
(name "yade-glicid-waves")))
(package
(inherit yade)
(name "yade-glicid-waves")))

View file

@ -4,8 +4,8 @@
(use-modules (guix packages) ( gnu packages serialization))
(define-public yaml-cpp-static
(package
(inherit yaml-cpp)
(name "yaml-cpp-static")
(arguments
'(#:configure-flags '("-DYAML_BUILD_SHARED_LIBS=OFF")))))
(package
(inherit yaml-cpp)
(name "yaml-cpp-static")
(arguments
'(#:configure-flags '("-DYAML_BUILD_SHARED_LIBS=OFF")))))

View file

@ -2,62 +2,38 @@
(use-modules (guix packages)
(guix git-download)
(guix download)
; (guix utils)
(guix download)
(gnu packages)
(gnu packages storage)
(gnu packages crypto)
(gnu packages python-xyz) ; wcwidth
(gnu packages linux) ; liburing
)
(gnu packages python-xyz)
(gnu packages linux)
)
(define-public ceph-upstream
(package
(inherit ceph)
(name "ceph-upstream")
; (version "17.2.7releasetag")
(version "17.2.7")
; (source (origin
; (method git-fetch)
; (uri (git-reference
; (url "https://github.com/ceph/ceph.git")
; (commit "b12291d110049b2f35e32e0de30d70e9a4c060d2") ;; last version 20240906
;; (branch "quincy")
;
; (recursive? #t)))
; (file-name version)
(source (origin
(method url-fetch)
(uri (string-append "https://download.ceph.com/tarballs/ceph-"
version ".tar.gz"))
(sha256
(base32
"1612424yrf39dz010ygz8k5x1vc8731549ckfj1r39dg00m62klp"))
(patches
(search-patches
"ceph-disable-cpu-optimizations.patch"))
(modules '((guix build utils)))
(snippet
'(for-each delete-file-recursively
'(;; TODO: Unbundle these:
"src/arrow"
;;"src/isa-l"
;;"src/lua"
;;"src/xxHash"
;;"src/zstd"
;;"src/civetweb"
"src/c-ares"
"src/fmt"
"src/googletest"
"src/rapidjson"
"src/spdk"
"src/rocksdb"
; "src/boost" ; inexistant ??
"src/utf8proc")))))
(inputs (modify-inputs (package-inputs ceph) (append liburing libxcrypt)))
(native-inputs (modify-inputs (package-native-inputs ceph)
(append python-wcwidth)))))
(package
(inherit ceph)
(name "ceph-upstream")
(version "17.2.7")
(source (origin
(method url-fetch)
(uri (string-append "https://download.ceph.com/tarballs/ceph-" version ".tar.gz"))
(sha256 (base32 "1612424yrf39dz010ygz8k5x1vc8731549ckfj1r39dg00m62klp"))
(patches
(search-patches "ceph-disable-cpu-optimizations.patch"))
(modules '((guix build utils)))
(snippet
'(for-each delete-file-recursively
'(
"src/arrow"
"src/c-ares"
"src/fmt"
"src/googletest"
"src/rapidjson"
"src/spdk"
"src/rocksdb"
"src/utf8proc")))))
(inputs (modify-inputs (package-inputs ceph) (append liburing libxcrypt)))
(native-inputs (modify-inputs (package-native-inputs ceph)
(append python-wcwidth)))))

View file

@ -8,10 +8,8 @@
#:use-module (guix download)
#:use-module (glicid utils))
(define-public qemu-latest
qemu)
(define-public qemu-minimal-latest
qemu-minimal)
(define-public qemu-latest qemu)
(define-public qemu-minimal-latest qemu-minimal)
(define-public qemu-with-rbd
(package

View file

@ -63,5 +63,3 @@ Secure. NetBird enables secure remote access by applying granular access policie
(description "netbird client ui program. dirty version from github artifacts.")
(home-page %netbird-homepage)
(license license:expat)))
netbird-cli

View file

@ -80,7 +80,7 @@
(system? #t)
(comment "slurm server user")
(uid 567) ;«magic number…»
; (group 567) ;«magic number…»
; (group 567) ;«magic number…»
(home-directory "/var/spool/slurm")
(shell (file-append bash "/bin/bash"))))

View file

@ -11,15 +11,12 @@
rc-local-configuration?
rc-local-service
rc-local-service-type
%default-rc-multiplelocal-conf
rc-multiplelocal-configuration
rc-multiplelocal-configuration?
rc-multiplelocal-service
rc-multiplelocal-service-type
))
))
(define %default-rc-local-conf
(plain-file "rc-local" "

View file

@ -1,47 +1,37 @@
(define-module (glicid services virtualization)
#:use-module (gnu services)
#:use-module (gnu services shepherd)
#:use-module ((gnu services virtualization) #:prefix gnu:)
#:use-module ((gnu packages virtualization) #:prefix gnu:)
; #:use-module (guix records)
; #:use-module (guix utils)
#:use-module (guix gexp) ;; file-like?
#:use-module (gnu services configuration) ;; define-configuration
#:use-module (gnu services)
#:use-module (gnu services shepherd)
#:use-module ((gnu services virtualization) #:prefix gnu:)
#:use-module ((gnu packages virtualization) #:prefix gnu:)
#:use-module (guix gexp)
#:use-module (gnu services configuration)
#:export (qemu-guest-agent-service-type)
)
#:export (qemu-guest-agent-service-type)
)
(define gnu:qemu-guest-agent-configuration-qemu (@@ (gnu services virtualization) qemu-guest-agent-configuration-qemu))
(define gnu:qemu-guest-agent-configuration-device (@@ (gnu services virtualization) qemu-guest-agent-configuration-device))
(define gnu:qemu-guest-agent-configuration-qemu (@@ (gnu services virtualization) qemu-guest-agent-configuration-qemu))
(define gnu:qemu-guest-agent-configuration-device (@@ (gnu services virtualization) qemu-guest-agent-configuration-device))
(define (qemu-guest-agent-shepherd-service config)
(let ((qemu (gnu:qemu-guest-agent-configuration-qemu config))
(let ((qemu (gnu:qemu-guest-agent-configuration-qemu config))
(device (gnu:qemu-guest-agent-configuration-device config)))
(list
(shepherd-service
(provision '(qemu-guest-agent))
(requirement '(udev)) ;; GLiCID
(documentation "Run the QEMU guest agent.")
(start #~(make-forkexec-constructor
`(,(string-append #$qemu "/bin/qemu-ga")
"--statedir" "/var/run"
,@(if (string-null? #$device)
'()
(list "--path" #$device)))
#:log-file "/var/log/qemu-ga.log"))
(stop #~(make-kill-destructor))))))
(shepherd-service
(provision '(qemu-guest-agent))
(requirement '(udev))
(documentation "Run the QEMU guest agent.")
(start #~(make-forkexec-constructor
`(,(string-append #$qemu "/bin/qemu-ga")
"--statedir" "/var/run"
,@(if (string-null? #$device)
'()
(list "--path" #$device)))
#:log-file "/var/log/qemu-ga.log"))
(stop #~(make-kill-destructor))))))
(define qemu-guest-agent-service-type
(service-type
(inherit gnu:qemu-guest-agent-service-type)
(extensions
(list (service-extension shepherd-root-service-type
qemu-guest-agent-shepherd-service)))
))
(inherit gnu:qemu-guest-agent-service-type)
(extensions
(list (service-extension shepherd-root-service-type
qemu-guest-agent-shepherd-service)))))

View file

@ -1,63 +1,61 @@
(define-module (glicid system file-systems)
#:use-module (gnu system file-systems)
#:export (%cgroups)
)
#:use-module (gnu system file-systems)
)
(define %cgroups
(append (list
(file-system
(device "none")
(mount-point "/run/systemd")
(type "tmpfs")
(check? #f)
(flags '(no-suid no-dev no-exec))
(options "mode=0755")
(create-mount-point? #t)
)
(file-system
(device "none")
(mount-point "/run/user")
(type "tmpfs")
(check? #f)
(flags '(no-suid no-dev no-exec))
(options "mode=0755")
(create-mount-point? #t)
)
(file-system
(device "cgroup")
(mount-point "/sys/fs/cgroup/hugetlb")
(type "cgroup")
(check? #f)
(options "hugetlb")
(create-mount-point? #t)
(dependencies (list (car %control-groups)))
)
(file-system
(device "cgroup")
(mount-point "/sys/fs/cgroup/net_cls")
(type "cgroup")
(check? #f)
(options "net_cls")
(create-mount-point? #t)
(dependencies (list (car %control-groups)))
)
(file-system
(device "cgroup")
(mount-point "/sys/fs/cgroup/net_prio")
(type "cgroup")
(check? #f)
(options "net_prio")
(create-mount-point? #t)
(dependencies (list (car %control-groups)))
)
(file-system
(device "cgroup")
(mount-point "/sys/fs/cgroup/systemd")
(type "cgroup")
(check? #f)
(options "none,name=systemd")
(create-mount-point? #t)
(dependencies (list (car %control-groups)))
)
) %control-groups )
)
(define-public %cgroups
(append (list
(file-system
(device "none")
(mount-point "/run/systemd")
(type "tmpfs")
(check? #f)
(flags '(no-suid no-dev no-exec))
(options "mode=0755")
(create-mount-point? #t)
)
(file-system
(device "none")
(mount-point "/run/user")
(type "tmpfs")
(check? #f)
(flags '(no-suid no-dev no-exec))
(options "mode=0755")
(create-mount-point? #t)
)
(file-system
(device "cgroup")
(mount-point "/sys/fs/cgroup/hugetlb")
(type "cgroup")
(check? #f)
(options "hugetlb")
(create-mount-point? #t)
(dependencies (list (car %control-groups)))
)
(file-system
(device "cgroup")
(mount-point "/sys/fs/cgroup/net_cls")
(type "cgroup")
(check? #f)
(options "net_cls")
(create-mount-point? #t)
(dependencies (list (car %control-groups)))
)
(file-system
(device "cgroup")
(mount-point "/sys/fs/cgroup/net_prio")
(type "cgroup")
(check? #f)
(options "net_prio")
(create-mount-point? #t)
(dependencies (list (car %control-groups)))
)
(file-system
(device "cgroup")
(mount-point "/sys/fs/cgroup/systemd")
(type "cgroup")
(check? #f)
(options "none,name=systemd")
(create-mount-point? #t)
(dependencies (list (car %control-groups)))
)
) %control-groups ))

View file

@ -6,33 +6,27 @@
#:use-module (glicid packages gcc)
#:use-module (gnu packages commencement)
#:use-module (gnu packages)
#:export (
latest-version
gcc11-instead-of-gcc
transform-package
instead-of
touch
))
)
(define (latest-version v1 v2)
(case (version-compare (package-version v1) (package-version v2))
((>) v1)
((=) v1)
((<) v2)))
(define-public (latest-version v1 v2)
(case (version-compare (package-version v1) (package-version v2))
((>) v1)
((=) v1)
((<) v2)))
(define gcc11-instead-of-gcc
(package-input-rewriting
`((,gcc-toolchain . ,gcc-toolchain-11)
(,gfortran-toolchain . ,gfortran-toolchain-11)
)))
(define-public gcc11-instead-of-gcc
(package-input-rewriting
`((,gcc-toolchain . ,gcc-toolchain-11)
(,gfortran-toolchain . ,gfortran-toolchain-11)
)))
(define (transform-package original-package suffix)
(package
(inherit original-package)
(name (string-append (package-name original-package) "-" suffix ))))
(define-public (transform-package original-package suffix)
(package
(inherit original-package)
(name (string-append (package-name original-package) "-" suffix ))))
(define (instead-of package-a-spec package-b)
(package-input-rewriting/spec `( (,package-a-spec . ,(const package-b)))))
(define-public (instead-of package-a-spec package-b)
(package-input-rewriting/spec `( (,package-a-spec . ,(const package-b)))))
(define (touch filename)
(call-with-output-file file-name (const #t)))
(define-public (touch filename)
(call-with-output-file file-name (const #t)))