micromamba: add

This commit is contained in:
Pavel Korytov 2023-06-18 11:43:53 +03:00
parent 8c30435504
commit 78ef1ab833
2 changed files with 69 additions and 25 deletions

View file

@ -5,28 +5,29 @@ My Guix channel.
I'll probably push what I can upstream when I figure Guix out.
* Status
| Software | Status | Problems/notes |
|----------------------------+----------+-------------------------------------------------------|
| [[https://gitlab.com/dwt1/shell-color-scripts][dt-colorscripts]] | OK | Check for implicit dependencies |
| [[https://yadm.io/][yadm]] | OK | Check for implicit dependencies; description |
| [[https://github.com/SqrtMinusOne/mpd-watcher][mpd-watcher]] | OK | |
| [[https://github.com/nikola-kocic/i3-switch-tabs][i3-switch-tabs]] | OK | |
| [[https://github.com/eafer/rdrview][rdrview]] | OK | |
| [[https://github.com/risacher/sunwait][sunwait]] | OK | Version number |
| [[https://github.com/alfredopalhares/openvpn-update-resolv-conf][openvpn-update-resolv-conf]] | OK | Just watch out for $PATH if launched from OpenVPN |
| [[https://github.com/fdw/rofimoji/][rofimoji]] | OK | But I had to create setup.py myself |
| [[https://github.com/deajan/osync][osync]] | Works | Requires shell commands as propagated-inputs |
| [[https://github.com/jdepoix/youtube-transcript-api][youtube-transcript-api]] | Works | Tests fail |
| [[https://github.com/PaulJuliusMartinez/jless][jless]] | Works | Installation from binaries |
| [[https://github.com/latex-lsp/texlab/][texlab]] | Works | Installation from binaries |
| [[https://gohugo.io/][hugo]] | Works | Installation from binaries |
| [[https://www.nushell.sh/][nushell]] | Works | Installation from binaries (Guix version is outdated) |
| [[https://gohugo.io/][hugo-extended]] | Works | Installation from binaries |
| [[https://github.com/atreyasha/i3-balance-workspace][i3-balance-workspace]] | Works | Tests fail |
| [[https://github.com/tmux-python/tmuxp][tmuxp]] | Works | Tests fail |
| [[https://github.com/hroptatyr/dateutils][dateutils]] | Works | Tests fail |
| [[https://starship.rs/][starship]] | Works | Installation from binaries |
| [[https://github.com/gauteh/lieer][lieer]] | Works | Tests fail for dependencies |
| [[https://activitywatch.net/][ActivityWatch]] | Works... | Except for aw-qt. Installation from binaries |
| [[https://github.com/yt-dlp/yt-dlp][yt-dlp]] | Removed | Removed in favour of the upstream definition |
| [[https://anydesk.com/en][anydesk]] | Removed | Pushed to nonguix |
| Software | Status | Problems/notes |
|----------------------------+----------+----------------------------------------------------------------------------|
| [[https://gitlab.com/dwt1/shell-color-scripts][dt-colorscripts]] | OK | Check for implicit dependencies |
| [[https://yadm.io/][yadm]] | OK | Check for implicit dependencies; description |
| [[https://github.com/SqrtMinusOne/mpd-watcher][mpd-watcher]] | OK | |
| [[https://github.com/nikola-kocic/i3-switch-tabs][i3-switch-tabs]] | OK | |
| [[https://github.com/eafer/rdrview][rdrview]] | OK | |
| [[https://github.com/risacher/sunwait][sunwait]] | OK | Version number |
| [[https://github.com/alfredopalhares/openvpn-update-resolv-conf][openvpn-update-resolv-conf]] | OK | Just watch out for $PATH if launched from OpenVPN |
| [[https://github.com/fdw/rofimoji/][rofimoji]] | OK | But I had to create setup.py myself |
| [[https://github.com/deajan/osync][osync]] | Works | Requires shell commands as propagated-inputs |
| [[https://github.com/jdepoix/youtube-transcript-api][youtube-transcript-api]] | Works | Tests fail |
| [[https://github.com/PaulJuliusMartinez/jless][jless]] | Works | Installation from binaries |
| [[https://github.com/latex-lsp/texlab/][texlab]] | Works | Installation from binaries |
| [[https://gohugo.io/][hugo]] | Works | Installation from binaries |
| [[https://www.nushell.sh/][nushell]] | Works | Installation from binaries (Guix version was outdated when I created this) |
| [[https://gohugo.io/][hugo-extended]] | Works | Installation from binaries |
| [[https://github.com/mamba-org/mamba][micromamba]] | Works | Installation from binaries |
| [[https://github.com/atreyasha/i3-balance-workspace][i3-balance-workspace]] | Works | Tests fail |
| [[https://github.com/tmux-python/tmuxp][tmuxp]] | Works | Tests fail |
| [[https://github.com/hroptatyr/dateutils][dateutils]] | Works | Tests fail |
| [[https://starship.rs/][starship]] | Works | Installation from binaries |
| [[https://github.com/gauteh/lieer][lieer]] | Works | Tests fail for dependencies |
| [[https://activitywatch.net/][ActivityWatch]] | Works... | Except for aw-qt. Installation from binaries |
| [[https://github.com/yt-dlp/yt-dlp][yt-dlp]] | Removed | Removed in favour of the upstream definition |
| [[https://anydesk.com/en][anydesk]] | Removed | Pushed to nonguix |

43
micromamba.scm Normal file
View file

@ -0,0 +1,43 @@
(define-module (micromamba)
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages gcc)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (nonguix build-system binary))
(define-public micromamba-bin
(package
(name "micromamba-bin")
(version "1.4.4-0")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/mamba-org/micromamba-releases/releases/download/"
version
"/micromamba-linux-64.tar.bz2"))
(sha256
(base32
"11k91i9b0b1whzdp0my2kh2ad6g93s38rl4as2n417x085rk3mwa"))))
(build-system binary-build-system)
(arguments
`(#:install-plan
`(("bin" "/")
("info" "/share/"))
#:patchelf-plan
`(("bin/micromamba" ("glibc")))
#:phases
(modify-phases %standard-phases
(replace 'unpack
(lambda* (#:key inputs #:allow-other-keys)
(invoke "tar" "-xvf" (assoc-ref inputs "source")))))))
(inputs
`(("glibc" ,glibc)))
(native-inputs
`(("gzip" ,gzip)))
(synopsis "micromamba is a tiny version of the mamba package manager.")
(description "micromamba is a tiny version of the mamba package manager. It is a statically linked C++ executable with a separate command line interface. It does not need a base environment and does not come with a default version of Python.")
(home-page "https://mamba.readthedocs.io/en/latest/user_guide/micromamba.html")
(license license:bsd-3)))