gnu: ocaml-ppx-tools: Don't use unstable tarball.

* gnu/packages/ocaml.scm (ocaml-ppx-tools)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
Fix indentation.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-09 00:10:20 +02:00
parent e3c7ac732f
commit ef59cf9d3b
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1948,18 +1948,19 @@ (define-public ocaml-ppx-tools
(name "ocaml-ppx-tools") (name "ocaml-ppx-tools")
(version "5.1+4.06.0") (version "5.1+4.06.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/alainfrisch/ppx_tools/archive/" (uri (git-reference
version ".tar.gz")) (url "https://github.com/alainfrisch/ppx_tools.git")
(sha256 (base32 (commit version)))
"0mncpy9v2mcjgnj7s2vqpp2b1ixv54djicfx66ic9wny9d202gj1")))) (sha256 (base32
"1ww4cspdpgjjsgiv71s0im5yjkr3544x96wsq1vpdacq7dr7zwiw"))))
(build-system ocaml-build-system) (build-system ocaml-build-system)
(arguments (arguments
`(#:phases (modify-phases %standard-phases (delete 'configure)) `(#:phases (modify-phases %standard-phases (delete 'configure))
#:tests? #f)) #:tests? #f))
(properties (properties
`((ocaml4.02-variant . ,(delay ocaml4.02-ppx-tools)))) `((ocaml4.02-variant . ,(delay ocaml4.02-ppx-tools))))
(home-page "https://github.com/alainfrisch/ppx_tools") (home-page "https://github.com/alainfrisch/ppx_tools")
(synopsis "Tools for authors of ppx rewriters and other syntactic tools") (synopsis "Tools for authors of ppx rewriters and other syntactic tools")
(description "Tools for authors of ppx rewriters and other syntactic tools.") (description "Tools for authors of ppx rewriters and other syntactic tools.")