gnu: Add julia-zstd-jll.
* gnu/packages/julia-xyz.scm (julia-zstd-jll): New variable.
This commit is contained in:
		
							parent
							
								
									39dfc10bde
								
							
						
					
					
						commit
						b1cad99e83
					
				
					 1 changed files with 39 additions and 0 deletions
				
			
		|  | @ -1471,6 +1471,45 @@ archives in Julia.") | |||
|     (description "This package provides a wrapper for Zlib.") | ||||
|     (license license:expat))) | ||||
| 
 | ||||
| (define-public julia-zstd-jll | ||||
|   (package | ||||
|     (name "julia-zstd-jll") | ||||
|     (version "1.5.0+0") | ||||
|     (source | ||||
|       (origin | ||||
|         (method git-fetch) | ||||
|         (uri (git-reference | ||||
|                (url "https://github.com/JuliaBinaryWrappers/Zstd_jll.jl") | ||||
|                (commit (string-append "Zstd-v" version)))) | ||||
|         (file-name (git-file-name name version)) | ||||
|         (sha256 | ||||
|          (base32 | ||||
|           "15g5wsvga4p9bjmx97xqwqdnfzfbwfl6c4a9iaphcncwgcrnw6y6")))) | ||||
|     (build-system julia-build-system) | ||||
|     (arguments | ||||
|      '(#:tests? #f  ; no runtests | ||||
|        #:phases | ||||
|        (modify-phases %standard-phases | ||||
|          (add-after 'unpack 'override-binary-path | ||||
|            (lambda* (#:key inputs #:allow-other-keys) | ||||
|              (map | ||||
|                (lambda (wrapper) | ||||
|                  (substitute* wrapper | ||||
|                    (("generate_wrapper_header.*") | ||||
|                     (string-append | ||||
|                       "generate_wrapper_header(\"Zstd\", \"" | ||||
|                       (assoc-ref inputs "zstd:lib") "\")\n")))) | ||||
|                ;; There's a Julia file for each platform, override them all | ||||
|                (find-files "src/wrappers/" "\\.jl$"))))))) | ||||
|     (inputs | ||||
|      `(("zstd:lib" ,zstd "lib"))) | ||||
|     (propagated-inputs | ||||
|      `(("julia-jllwrappers" ,julia-jllwrappers))) | ||||
|     (home-page "https://github.com/JuliaBinaryWrappers/Zstd_jll.jl") | ||||
|     (synopsis "Zstd library wrappers") | ||||
|     (description "This package provides a wrapper for the zstd library.") | ||||
|     (license license:expat))) | ||||
| 
 | ||||
| (define-public julia-zygoterules | ||||
|   (package | ||||
|     (name "julia-zygoterules") | ||||
|  |  | |||
		Reference in a new issue