rekahsoft
/
guix-config
Archived
1
1
Fork 0

First working crate package

Note: if a crate does not produce any binaries during the build phase,
it must be skipped otherwise the `cargo install --release` command
that is conditionally run during the install phase will cause an
error. The condition by which `cargo install ...` is run during the
install phase is based on whether a `.Cargo.lock` is present, which
will only occur if the package is built (eg `cargo build ...` is run).
This commit is contained in:
Collin J. Doering 2019-02-04 11:31:09 -05:00
parent 7e5ecec87e
commit e94026488f
2 changed files with 31 additions and 24 deletions

View File

@ -1,4 +1,4 @@
(define-module (rekahsoft packages rust-xyz)
(define-module (rekahsoft packages rust-xyz-WIP)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system cargo)
@ -1805,29 +1805,6 @@ dropped.
"This package provides a bindless library for manipulating terminals.")
(license #f)))
(define-public rust-rustc-std-workspace-core
(package
(name "rust-rustc-std-workspace-core")
(version "1.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustc-std-workspace-core" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1309xhwyai9xpz128xrfjqkmnkvgjwddznmj7brbd8i8f58zamhr"))))
(build-system cargo-build-system)
(home-page "")
(synopsis
"Explicitly empty crate for rust-lang/rust integration
")
(description
"Explicitly empty crate for rust-lang/rust integration
")
(license #f)))
(define-public rust-redox-termios
(package
(name "rust-redox-termios")

View File

@ -0,0 +1,30 @@
(define-module (rekahsoft packages rust-xyz)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system cargo)
#:use-module (guix licenses))
(define-public rust-rustc-std-workspace-core
(package
(name "rust-rustc-std-workspace-core")
(version "1.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustc-std-workspace-core" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"1309xhwyai9xpz128xrfjqkmnkvgjwddznmj7brbd8i8f58zamhr"))))
(build-system cargo-build-system)
(arguments `(#:phases (modify-phases %standard-phases
(delete 'build))))
(home-page "")
(synopsis
"Explicitly empty crate for rust-lang/rust integration
")
(description
"Explicitly empty crate for rust-lang/rust integration
")
(license #f)))