upgrade atuin to 18.3.0

This commit is contained in:
Peter Tillemans 2024-07-13 20:54:46 +02:00
parent 05378d98af
commit 76d0fe1b44

View file

@ -18,42 +18,39 @@
(define-public atuin-bin (define-public atuin-bin
(package (package
(name "atuin-bin") (name "atuin-bin")
(version "18.0.2") (version "18.3.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"https://github.com/atuinsh/atuin/releases/download/v" version "https://github.com/atuinsh/atuin/releases/download/v" version
"/atuin-v" version "-x86_64-unknown-linux-gnu.tar.gz")) "/atuin-x86_64-unknown-linux-gnu.tar.gz"))
(sha256 (sha256
(base32 (base32
"1pk8jchf6kxa01qbv3amzwwkj0fxc35yv446igc1h6z870yanj58")))) "14hp673i8in9adahg01bldlwyip7kg5vdnqi5jczinv8ibxnswg3"))))
(build-system binary-build-system) (build-system binary-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'binary-unpack) (delete 'binary-unpack)
(replace 'unpack (replace 'unpack
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(invoke "tar" "xvzf" (assoc-ref inputs "source") (invoke "tar" "xvzf" (assoc-ref inputs "source")
"--strip-components" "1")))) "--strip-components" "1"))))
#:install-plan #:install-plan
`(("atuin" "/bin/") `(("atuin" "/bin/"))
("completions/atuin.fish" "/share/fish/vendor_completions.d/") #:patchelf-plan
("completions/atuin.bash" "/share/bash-completion/completions/") `(("atuin" ("glibc" "libgccjit" "libstdc++")))))
("completions/_atuin" "/share/zsh/site-functions/")) (inputs
#:patchelf-plan `(("curl" ,curl)
`(("atuin" ("glibc" "libgccjit" "libstdc++"))))) ("libgccjit" ,libgccjit)
(inputs ("libstdc++" ,libstdc++)
`(("curl" ,curl) ("glibc" ,glibc)
("libgccjit" ,libgccjit) ("zlib" ,zlib)))
("libstdc++" ,libstdc++) (synopsis "Sync, search and backup shell history")
("glibc" ,glibc) (description "Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands. Additionally, it provides optional and fully encrypted synchronisation of your history between machines, via an Atuin server.")
("zlib" ,zlib))) (home-page "https://atuin.sh/")
(synopsis "Sync, search and backup shell history") (license license:expat)))
(description "Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands. Additionally, it provides optional and fully encrypted synchronisation of your history between machines, via an Atuin server.")
(home-page "https://atuin.sh/")
(license license:expat)))
atuin-bin atuin-bin