gnu: Add rust-windows-sys-0.48.
* gnu/packages/crates-io.scm (rust-windows-sys-0.48): New variable. (rust-windows-sys-0.45): Inherit from rust-windows-sys-0.48.
This commit is contained in:
		
							parent
							
								
									8919ad00f6
								
							
						
					
					
						commit
						3338a84bb5
					
				
					 1 changed files with 25 additions and 9 deletions
				
			
		| 
						 | 
					@ -73426,8 +73426,32 @@ crate.")
 | 
				
			||||||
crate.")
 | 
					crate.")
 | 
				
			||||||
    (license (list license:expat license:asl2.0))))
 | 
					    (license (list license:expat license:asl2.0))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public rust-windows-sys-0.48
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "rust-windows-sys")
 | 
				
			||||||
 | 
					    (version "0.48.0")
 | 
				
			||||||
 | 
					    (source (origin
 | 
				
			||||||
 | 
					              (method url-fetch)
 | 
				
			||||||
 | 
					              (uri (crate-uri "windows-sys" version))
 | 
				
			||||||
 | 
					              (file-name (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
 | 
					              (sha256
 | 
				
			||||||
 | 
					               (base32
 | 
				
			||||||
 | 
					                "1aan23v5gs7gya1lc46hqn9mdh8yph3fhxmhxlw36pn6pqc28zb7"))))
 | 
				
			||||||
 | 
					    (build-system cargo-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:skip-build? #t
 | 
				
			||||||
 | 
					       #:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.48))))
 | 
				
			||||||
 | 
					    (home-page "https://github.com/microsoft/windows-rs")
 | 
				
			||||||
 | 
					    (synopsis "Rust for Windows")
 | 
				
			||||||
 | 
					    (description "The windows crate lets you call any Windows API past,
 | 
				
			||||||
 | 
					present, and future using code generated on the fly directly from the metadata
 | 
				
			||||||
 | 
					describing the API and right into your Rust package where you can call them as
 | 
				
			||||||
 | 
					if they were just another Rust module.")
 | 
				
			||||||
 | 
					    (license (list license:expat license:asl2.0))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public rust-windows-sys-0.45
 | 
					(define-public rust-windows-sys-0.45
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
 | 
					    (inherit rust-windows-sys-0.48)
 | 
				
			||||||
    (name "rust-windows-sys")
 | 
					    (name "rust-windows-sys")
 | 
				
			||||||
    (version "0.45.0")
 | 
					    (version "0.45.0")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
| 
						 | 
					@ -73436,18 +73460,10 @@ crate.")
 | 
				
			||||||
              (file-name (string-append name "-" version ".tar.gz"))
 | 
					              (file-name (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32 "1l36bcqm4g89pknfp8r9rl1w4bn017q6a8qlx8viv0xjxzjkna3m"))))
 | 
					               (base32 "1l36bcqm4g89pknfp8r9rl1w4bn017q6a8qlx8viv0xjxzjkna3m"))))
 | 
				
			||||||
    (build-system cargo-build-system)
 | 
					 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     (list #:skip-build? #t
 | 
					     (list #:skip-build? #t
 | 
				
			||||||
           #:cargo-inputs
 | 
					           #:cargo-inputs
 | 
				
			||||||
           `(("rust-windows-targets" ,rust-windows-targets-0.42))))
 | 
					           `(("rust-windows-targets" ,rust-windows-targets-0.42))))))
 | 
				
			||||||
    (home-page "https://github.com/microsoft/windows-rs")
 | 
					 | 
				
			||||||
    (synopsis "Rust for Windows")
 | 
					 | 
				
			||||||
    (description "The windows crate lets you call any Windows API past,
 | 
					 | 
				
			||||||
present, and future using code generated on the fly directly from the metadata
 | 
					 | 
				
			||||||
describing the API and right into your Rust package where you can call them as
 | 
					 | 
				
			||||||
if they were just another Rust module.")
 | 
					 | 
				
			||||||
    (license (list license:expat license:asl2.0))))
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public rust-windows-sys-0.42
 | 
					(define-public rust-windows-sys-0.42
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue