gnu: Add rust-xdg-home-1.
* gnu/packages/crates-io.scm (rust-xdg-home-1): Add variable. Change-Id: I3c10b1303c37c93c6302bd0537120db786f4463c Signed-off-by: Efraim Flashner <efraim@flashner.co.il>master
parent
c627f2f743
commit
557dab04df
|
@ -77310,6 +77310,31 @@ to XDG Base Directory specification.")
|
|||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
|
||||
(define-public rust-xdg-home-1
|
||||
(package
|
||||
(name "rust-xdg-home")
|
||||
(version "1.0.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "xdg-home" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1kbd1ks8bvpsay6lgk60yaf1w13daaf75ghmslan031ss4y20s97"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-nix" ,rust-nix-0.26)
|
||||
("rust-winapi" ,rust-winapi-0.3))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
(setenv "HOME" (getcwd)))))))
|
||||
(home-page "https://github.com/zeenix/xdg-home")
|
||||
(synopsis "User home directory per XDG Specification")
|
||||
(description "The user's home directory as per the XDG Specification.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-xflags-macros-0.2
|
||||
(package
|
||||
(name "rust-xflags-macros")
|
||||
|
|
Reference in New Issue