Generate crate packages that are dependencies with bat and exa
This commit is contained in:
parent
29a02f22b1
commit
30ede18070
52
bat.scm
52
bat.scm
|
@ -1,21 +1,47 @@
|
||||||
(use-modules (guix packages)
|
(use-modules (guix packages)
|
||||||
(guix download)
|
(guix download)
|
||||||
(guix build-system cargo-build-system)
|
(guix build-system cargo)
|
||||||
(guix licenses))
|
(guix licenses))
|
||||||
|
|
||||||
|
(use-modules (rekahsoft packages rust-xyz))
|
||||||
|
|
||||||
(package
|
(package
|
||||||
(name "bat")
|
(name "rust-bat")
|
||||||
(version "0.9.0")
|
(version "0.9.0")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://github.com/sharkdp/bat/archive/v" version
|
(method url-fetch)
|
||||||
".tar.gz"))
|
(uri (crate-uri "bat" version))
|
||||||
(sha256
|
(file-name
|
||||||
(base32
|
(string-append name "-" version ".tar.gz"))
|
||||||
"UPDATE ME"))))
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0my950gp9l9w75azlgl2s3qwj5874x6qwzc26xcj8q4nmpjdwpp3"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(synopsis "A cat(1) clone with wings")
|
(native-inputs
|
||||||
(description
|
`(("rust-assert-cmd" ,rust-assert-cmd "src")
|
||||||
"A cat(1) clone with syntax highlighting and Git integration")
|
("rust-clap" ,rust-clap "src")
|
||||||
|
("rust-escargot" ,rust-escargot "src")
|
||||||
|
("rust-tempdir" ,rust-tempdir "src")))
|
||||||
|
(inputs
|
||||||
|
`(("rust-ansi-colours" ,rust-ansi-colours "src")
|
||||||
|
("rust-ansi-term" ,rust-ansi-term "src")
|
||||||
|
("rust-atty" ,rust-atty "src")
|
||||||
|
("rust-clap" ,rust-clap "src")
|
||||||
|
("rust-console" ,rust-console "src")
|
||||||
|
("rust-content-inspector"
|
||||||
|
,rust-content-inspector
|
||||||
|
"src")
|
||||||
|
("rust-directories" ,rust-directories "src")
|
||||||
|
("rust-encoding" ,rust-encoding "src")
|
||||||
|
("rust-error-chain" ,rust-error-chain "src")
|
||||||
|
("rust-git2" ,rust-git2 "src")
|
||||||
|
("rust-lazy-static" ,rust-lazy-static "src")
|
||||||
|
("rust-shell-words" ,rust-shell-words "src")
|
||||||
|
("rust-syntect" ,rust-syntect "src")
|
||||||
|
("rust-wild" ,rust-wild "src")))
|
||||||
(home-page "https://github.com/sharkdp/bat")
|
(home-page "https://github.com/sharkdp/bat")
|
||||||
(license expat))
|
(synopsis "A cat(1) clone with wings.")
|
||||||
|
(description
|
||||||
|
"This package provides a cat(1) clone with wings.")
|
||||||
|
(license #f))
|
||||||
|
|
52
exa.scm
52
exa.scm
|
@ -1,21 +1,49 @@
|
||||||
(use-modules (guix packages)
|
(use-modules (guix packages)
|
||||||
(guix download)
|
(guix download)
|
||||||
(guix build-system cargo-build-system)
|
(guix build-system cargo)
|
||||||
(guix licenses))
|
(guix licenses))
|
||||||
|
|
||||||
|
(use-modules (rekahsoft packages rust-xyz))
|
||||||
|
|
||||||
(package
|
(package
|
||||||
(name "exa")
|
(name "rust-exa")
|
||||||
(version "0.8.0")
|
(version "0.8.0")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://github.com/ogham/exa/archive/v" version
|
(method url-fetch)
|
||||||
".tar.gz"))
|
(uri (crate-uri "exa" version))
|
||||||
(sha256
|
(file-name
|
||||||
(base32
|
(string-append name "-" version ".tar.gz"))
|
||||||
"UPDATE ME"))))
|
(sha256
|
||||||
|
(base32
|
||||||
|
"195n7f6np012ry0dkh1f33whznzaiaql89k8ghnzlfs1c1lv54a2"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(synopsis "A modern version of 'ls'")
|
(inputs
|
||||||
(description
|
`(("rust-ansi-term" ,rust-ansi-term "src")
|
||||||
"exa is a modern replacement for the command-line program ls that ships with Unix and Linux operating systems, with more features and better defaults. It uses colours to distinguish file types and metadata. It knows about symlinks, extended attributes, and Git. And it’s small, fast, and just one single binary.")
|
("rust-datetime" ,rust-datetime "src")
|
||||||
|
("rust-env-logger" ,rust-env-logger "src")
|
||||||
|
("rust-getopts" ,rust-getopts "src")
|
||||||
|
("rust-git2" ,rust-git2 "src")
|
||||||
|
("rust-glob" ,rust-glob "src")
|
||||||
|
("rust-lazy-static" ,rust-lazy-static "src")
|
||||||
|
("rust-libc" ,rust-libc "src")
|
||||||
|
("rust-locale" ,rust-locale "src")
|
||||||
|
("rust-log" ,rust-log "src")
|
||||||
|
("rust-natord" ,rust-natord "src")
|
||||||
|
("rust-num-cpus" ,rust-num-cpus "src")
|
||||||
|
("rust-number-prefix" ,rust-number-prefix "src")
|
||||||
|
("rust-scoped-threadpool"
|
||||||
|
,rust-scoped-threadpool
|
||||||
|
"src")
|
||||||
|
("rust-term-grid" ,rust-term-grid "src")
|
||||||
|
("rust-term-size" ,rust-term-size "src")
|
||||||
|
("rust-unicode-width" ,rust-unicode-width "src")
|
||||||
|
("rust-users" ,rust-users "src")
|
||||||
|
("rust-zoneinfo-compiled"
|
||||||
|
,rust-zoneinfo-compiled
|
||||||
|
"src")))
|
||||||
(home-page "https://the.exa.website/")
|
(home-page "https://the.exa.website/")
|
||||||
|
(synopsis "A modern replacement for ls")
|
||||||
|
(description
|
||||||
|
"This package provides a modern replacement for ls")
|
||||||
(license expat))
|
(license expat))
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue