rekahsoft
/
guix-config
Archived
1
1
Fork 0

Generate crate packages that are dependencies with bat and exa

This commit is contained in:
Collin J. Doering 2019-02-02 15:02:42 -05:00
parent 29a02f22b1
commit 30ede18070
4 changed files with 22710 additions and 25 deletions

52
bat.scm
View File

@ -1,21 +1,47 @@
(use-modules (guix packages)
(guix download)
(guix build-system cargo-build-system)
(guix build-system cargo)
(guix licenses))
(use-modules (rekahsoft packages rust-xyz))
(package
(name "bat")
(name "rust-bat")
(version "0.9.0")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/sharkdp/bat/archive/v" version
".tar.gz"))
(sha256
(base32
"UPDATE ME"))))
(source
(origin
(method url-fetch)
(uri (crate-uri "bat" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0my950gp9l9w75azlgl2s3qwj5874x6qwzc26xcj8q4nmpjdwpp3"))))
(build-system cargo-build-system)
(synopsis "A cat(1) clone with wings")
(description
"A cat(1) clone with syntax highlighting and Git integration")
(native-inputs
`(("rust-assert-cmd" ,rust-assert-cmd "src")
("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")
(license expat))
(synopsis "A cat(1) clone with wings.")
(description
"This package provides a cat(1) clone with wings.")
(license #f))

52
exa.scm
View File

@ -1,21 +1,49 @@
(use-modules (guix packages)
(guix download)
(guix build-system cargo-build-system)
(guix build-system cargo)
(guix licenses))
(use-modules (rekahsoft packages rust-xyz))
(package
(name "exa")
(name "rust-exa")
(version "0.8.0")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/ogham/exa/archive/v" version
".tar.gz"))
(sha256
(base32
"UPDATE ME"))))
(source
(origin
(method url-fetch)
(uri (crate-uri "exa" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"195n7f6np012ry0dkh1f33whznzaiaql89k8ghnzlfs1c1lv54a2"))))
(build-system cargo-build-system)
(synopsis "A modern version of 'ls'")
(description
"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 its small, fast, and just one single binary.")
(inputs
`(("rust-ansi-term" ,rust-ansi-term "src")
("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/")
(synopsis "A modern replacement for ls")
(description
"This package provides a modern replacement for ls")
(license expat))

11315
rust-xyz.scm Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff