gnu: Add rust-strsim-0.10.
* gnu/packages/crates-io.scm (rust-strsim-0.10): New variable. (rust-strsim-0.9): Inherit from above. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
		
							parent
							
								
									e881704787
								
							
						
					
					
						commit
						d45b6d9d58
					
				
					 1 changed files with 24 additions and 9 deletions
				
			
		| 
						 | 
					@ -40413,18 +40413,19 @@ and write it somewhere that does not easily support them, such as a log
 | 
				
			||||||
file.")
 | 
					file.")
 | 
				
			||||||
    (license (list license:asl2.0 license:expat))))
 | 
					    (license (list license:asl2.0 license:expat))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public rust-strsim-0.9
 | 
					(define-public rust-strsim-0.10
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "rust-strsim")
 | 
					    (name "rust-strsim")
 | 
				
			||||||
    (version "0.9.3")
 | 
					    (version "0.10.0")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
      (origin
 | 
					     (origin
 | 
				
			||||||
        (method url-fetch)
 | 
					       (method url-fetch)
 | 
				
			||||||
        (uri (crate-uri "strsim" version))
 | 
					       (uri (crate-uri "strsim" version))
 | 
				
			||||||
        (file-name (string-append name "-" version ".crate"))
 | 
					       (file-name
 | 
				
			||||||
        (sha256
 | 
					        (string-append name "-" version ".tar.gz"))
 | 
				
			||||||
         (base32
 | 
					       (sha256
 | 
				
			||||||
          "0k497pv882qn3q977ckznm13vxx927g8s1swvcv68j3c1pccwik4"))))
 | 
					        (base32
 | 
				
			||||||
 | 
					         "08s69r4rcrahwnickvi0kq49z524ci50capybln83mg6b473qivk"))))
 | 
				
			||||||
    (build-system cargo-build-system)
 | 
					    (build-system cargo-build-system)
 | 
				
			||||||
    (home-page "https://github.com/dguo/strsim-rs")
 | 
					    (home-page "https://github.com/dguo/strsim-rs")
 | 
				
			||||||
    (synopsis "Rust implementations of string similarity metrics")
 | 
					    (synopsis "Rust implementations of string similarity metrics")
 | 
				
			||||||
| 
						 | 
					@ -40433,6 +40434,20 @@ metrics.  It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro,
 | 
				
			||||||
and Jaro-Winkler.")
 | 
					and Jaro-Winkler.")
 | 
				
			||||||
    (license license:expat)))
 | 
					    (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public rust-strsim-0.9
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (inherit rust-strsim-0.10)
 | 
				
			||||||
 | 
					    (name "rust-strsim")
 | 
				
			||||||
 | 
					    (version "0.9.3")
 | 
				
			||||||
 | 
					    (source
 | 
				
			||||||
 | 
					     (origin
 | 
				
			||||||
 | 
					       (method url-fetch)
 | 
				
			||||||
 | 
					       (uri (crate-uri "strsim" version))
 | 
				
			||||||
 | 
					       (file-name (string-append name "-" version ".crate"))
 | 
				
			||||||
 | 
					       (sha256
 | 
				
			||||||
 | 
					        (base32
 | 
				
			||||||
 | 
					         "0k497pv882qn3q977ckznm13vxx927g8s1swvcv68j3c1pccwik4"))))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public rust-strsim-0.8
 | 
					(define-public rust-strsim-0.8
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (inherit rust-strsim-0.9)
 | 
					    (inherit rust-strsim-0.9)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue