gnu: ocaml-ssl: Don't use unstable tarball.

* gnu/packages/ocaml.scm (ocaml-ssl)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2018-09-24 00:54:39 +02:00
parent 000147811b
commit 8ae540a2c0
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 5 deletions

View File

@ -65,6 +65,7 @@
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system ocaml) #:use-module (guix build-system ocaml)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix svn-download) #:use-module (guix svn-download)
@ -1650,12 +1651,13 @@ lets the client choose the concrete timeline.")
(version "0.5.5") (version "0.5.5")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/savonet/ocaml-ssl/archive/" (uri (git-reference
version ".tar.gz")) (url "https://github.com/savonet/ocaml-ssl.git")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(file-name (git-file-name name version))
(sha256 (base32 (sha256 (base32
"15p7652cvzdrlqxc1af11mg07wasxr1fsaj44gcmmh6bmav7wfzq")))) "0fviq8xhp3qk7pmkl7knchywsipxgb7p0z489hj8qnf2sx8xzdmy"))))
(build-system ocaml-build-system) (build-system ocaml-build-system)
(arguments `(#:tests? #f (arguments `(#:tests? #f
#:make-flags (list "OCAMLFIND_LDCONF=ignore") #:make-flags (list "OCAMLFIND_LDCONF=ignore")