gnu: ocaml-result: Update to 1.3.

* gnu/packages/ocaml.scm (ocaml-result): Update to 1.3.
[build-system]: Use dune-build-system.
[source]: Use git-fetch.
This commit is contained in:
Julien Lepiller 2019-04-26 17:40:37 +02:00
parent 5cb40adaa2
commit 22cd6a1d4f
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 9 additions and 11 deletions

View File

@ -1428,21 +1428,19 @@ powerful.")
(define-public ocaml-result (define-public ocaml-result
(package (package
(name "ocaml-result") (name "ocaml-result")
(version "1.2") (version "1.3")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/janestreet/result" (uri (git-reference
"/archive/" version ".tar.gz")) (url "https://github.com/janestreet/result")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1pgpfsgvhxnh0i37fkvp9j8nadns9hz9iqgabj4dr519j2gr1xvw")))) "081ayblszn9pj2rqcif40x6cz2zda48vi45gy49rc2qfc4gszry3"))))
(build-system ocaml-build-system) (build-system dune-build-system)
(arguments (arguments
`(#:tests? #f `(#:test-target "."))
#:phases
(modify-phases %standard-phases
(delete 'configure))))
(home-page "https://github.com/janestreet/result") (home-page "https://github.com/janestreet/result")
(synopsis "Compatibility Result module") (synopsis "Compatibility Result module")
(description "Uses the new result type defined in OCaml >= 4.03 while (description "Uses the new result type defined in OCaml >= 4.03 while