gnu: Add rust-xattr.
* gnu/packages/crates-io.scm (rust-xattr): New variable.
This commit is contained in:
		
							parent
							
								
									5ef6549e12
								
							
						
					
					
						commit
						1a9ce2a252
					
				
					 1 changed files with 27 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -3620,6 +3620,33 @@ color in a Windows console.")
 | 
			
		|||
     "Contains function definitions for the Windows API library ws2_32.")
 | 
			
		||||
    (license license:expat)))
 | 
			
		||||
 | 
			
		||||
(define-public rust-xattr
 | 
			
		||||
  (package
 | 
			
		||||
    (name "rust-xattr")
 | 
			
		||||
    (version "0.2.2")
 | 
			
		||||
    (source
 | 
			
		||||
      (origin
 | 
			
		||||
        (method url-fetch)
 | 
			
		||||
        (uri (crate-uri "xattr" version))
 | 
			
		||||
        (file-name (string-append name "-" version ".tar.gz"))
 | 
			
		||||
        (sha256
 | 
			
		||||
         (base32
 | 
			
		||||
          "0k556fb6f5jc907975j9c8iynl2fqz3rf0w6fiig83i4yi0kfk14"))))
 | 
			
		||||
    (build-system cargo-build-system)
 | 
			
		||||
    (arguments
 | 
			
		||||
     `(#:cargo-inputs
 | 
			
		||||
       (("rust-libc" ,rust-libc))
 | 
			
		||||
       #:cargo-development-inputs
 | 
			
		||||
       (("rust-tempfile" ,rust-tempfile))
 | 
			
		||||
       #:tests? #f)) ; Tests assume read access to /var.
 | 
			
		||||
    (home-page "https://github.com/Stebalien/xattr")
 | 
			
		||||
    (synopsis "Unix extended filesystem attributes")
 | 
			
		||||
    (description
 | 
			
		||||
     "This package provide a small library for setting, getting, and listing
 | 
			
		||||
extended attributes.")
 | 
			
		||||
    (license (list license:asl2.0
 | 
			
		||||
                   license:expat))))
 | 
			
		||||
 | 
			
		||||
(define-public rust-xdg
 | 
			
		||||
  (package
 | 
			
		||||
    (name "rust-xdg")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue