diff options
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0e87545d07..e9ae86c410 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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") |