gnu: Add rust-fd-lock-3.
* gnu/packages/crates-io.scm (rust-fd-lock-3): New variable. (rust-fd-lock-2): Inherit from above.
This commit is contained in:
		
							parent
							
								
									60f6e97dd9
								
							
						
					
					
						commit
						ec51a9845d
					
				
					 1 changed files with 27 additions and 8 deletions
				
			
		|  | @ -15890,8 +15890,34 @@ floats.") | ||||||
|      "This package provides a simple and fast random number generator.") |      "This package provides a simple and fast random number generator.") | ||||||
|     (license (list license:asl2.0 license:expat)))) |     (license (list license:asl2.0 license:expat)))) | ||||||
| 
 | 
 | ||||||
|  | (define-public rust-fd-lock-3 | ||||||
|  |   (package | ||||||
|  |     (name "rust-fd-lock") | ||||||
|  |     (version "3.0.0") | ||||||
|  |     (source | ||||||
|  |      (origin | ||||||
|  |        (method url-fetch) | ||||||
|  |        (uri (crate-uri "fd-lock" version)) | ||||||
|  |        (file-name (string-append name "-" version ".tar.gz")) | ||||||
|  |        (sha256 | ||||||
|  |         (base32 "0dif8wk9xrqkjyfgqqy3zfg4ckmkpyzzk5p5m01s99q63bcnv05q")))) | ||||||
|  |     (build-system cargo-build-system) | ||||||
|  |     (arguments | ||||||
|  |      `(#:skip-build? #t | ||||||
|  |        #:cargo-inputs | ||||||
|  |        (("rust-cfg-if" ,rust-cfg-if-1) | ||||||
|  |         ("rust-libc" ,rust-libc-0.2) | ||||||
|  |         ("rust-winapi" ,rust-winapi-0.3)))) | ||||||
|  |     (home-page "https://github.com/yoshuawuyts/fd-lock") | ||||||
|  |     (synopsis "Advisory lock on a file") | ||||||
|  |     (description | ||||||
|  |      "Fd-lock provides an advisory lock on a file using a file descriptor to | ||||||
|  | it.") | ||||||
|  |     (license (list license:expat license:asl2.0)))) | ||||||
|  | 
 | ||||||
| (define-public rust-fd-lock-2 | (define-public rust-fd-lock-2 | ||||||
|   (package |   (package | ||||||
|  |     (inherit rust-fd-lock-3) | ||||||
|     (name "rust-fd-lock") |     (name "rust-fd-lock") | ||||||
|     (version "2.0.0") |     (version "2.0.0") | ||||||
|     (source |     (source | ||||||
|  | @ -15901,18 +15927,11 @@ floats.") | ||||||
|        (file-name (string-append name "-" version ".tar.gz")) |        (file-name (string-append name "-" version ".tar.gz")) | ||||||
|        (sha256 |        (sha256 | ||||||
|         (base32 "01kzrikg3a60lxmr0k8bbm4nggh6693f1pf530ip136qzwpg0400")))) |         (base32 "01kzrikg3a60lxmr0k8bbm4nggh6693f1pf530ip136qzwpg0400")))) | ||||||
|     (build-system cargo-build-system) |  | ||||||
|     (arguments |     (arguments | ||||||
|      `(#:skip-build? #t |      `(#:skip-build? #t | ||||||
|        #:cargo-inputs |        #:cargo-inputs | ||||||
|        (("rust-libc" ,rust-libc-0.2) |        (("rust-libc" ,rust-libc-0.2) | ||||||
|         ("rust-winapi" ,rust-winapi-0.3)))) |         ("rust-winapi" ,rust-winapi-0.3)))))) | ||||||
|     (home-page "https://github.com/yoshuawuyts/fd-lock") |  | ||||||
|     (synopsis "Advisory lock on a file") |  | ||||||
|     (description |  | ||||||
|      "Fd-lock provides an advisory lock on a file using a file descriptor to |  | ||||||
| it.") |  | ||||||
|     (license (list license:expat license:asl2.0)))) |  | ||||||
| 
 | 
 | ||||||
| (define-public rust-femme-2 | (define-public rust-femme-2 | ||||||
|   (package |   (package | ||||||
|  |  | ||||||
		Reference in a new issue