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:
parent
7e5ecec87e
commit
e94026488f
|
@ -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")
|
||||
|
|
|
@ -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)))
|
Reference in New Issue