gnu: Add rust-user32-sys-0.2.
* gnu/packages/crates-io.scm (rust-user32-sys-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
		
							parent
							
								
									643d90bf74
								
							
						
					
					
						commit
						af5271b275
					
				
					 1 changed files with 33 additions and 0 deletions
				
			
		| 
						 | 
					@ -18394,6 +18394,39 @@ untrusted inputs in Rust.")
 | 
				
			||||||
        ("rust-rustc-test" ,rust-rustc-test-0.3)
 | 
					        ("rust-rustc-test" ,rust-rustc-test-0.3)
 | 
				
			||||||
        ("rust-serde-json" ,rust-serde-json-1.0))))))
 | 
					        ("rust-serde-json" ,rust-serde-json-1.0))))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public rust-user32-sys-0.2
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "rust-user32-sys")
 | 
				
			||||||
 | 
					    (version "0.2.0")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method url-fetch)
 | 
				
			||||||
 | 
					       (uri (crate-uri "user32-sys" version))
 | 
				
			||||||
 | 
					       (file-name
 | 
				
			||||||
 | 
					        (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32
 | 
				
			||||||
 | 
					         "0ivxc7hmsxax9crdhxdd1nqwik4s9lhb2x59lc8b88bv20fp3x2f"))))
 | 
				
			||||||
 | 
					    (build-system cargo-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:cargo-inputs
 | 
				
			||||||
 | 
					       (("rust-winapi" ,rust-winapi-0.2))
 | 
				
			||||||
 | 
					       #:cargo-development-inputs
 | 
				
			||||||
 | 
					       (("rust-winapi-build" ,rust-winapi-build-0.1))
 | 
				
			||||||
 | 
					       #:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-after 'unpack 'fix-cargo-toml
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (substitute* "Cargo.toml"
 | 
				
			||||||
 | 
					               ((", path =.*}") "}"))
 | 
				
			||||||
 | 
					             #t)))))
 | 
				
			||||||
 | 
					    (home-page "https://github.com/retep998/winapi-rs")
 | 
				
			||||||
 | 
					    (synopsis "Function definitions for the Windows API library user32")
 | 
				
			||||||
 | 
					    (description
 | 
				
			||||||
 | 
					     "Contains function definitions for the Windows API library user32.
 | 
				
			||||||
 | 
					See winapi for types and constants.")
 | 
				
			||||||
 | 
					    (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public rust-users-0.9
 | 
					(define-public rust-users-0.9
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "rust-users")
 | 
					    (name "rust-users")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue