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

* gnu/packages/ocaml.scm (ocaml-seq)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
Fix indentation.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-09 00:13:06 +02:00
parent 2209b362a5
commit f6a99fbfa2
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 11 additions and 10 deletions

View File

@ -3508,14 +3508,15 @@ new record values.")
(package (package
(name "ocaml-seq") (name "ocaml-seq")
(version "0.1") (version "0.1")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/c-cube/seq/archive/" (method git-fetch)
version ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" version ".tar.gz")) (url "https://github.com/c-cube/seq.git")
(sha256 (commit version)))
(base32 (file-name (git-file-name name version))
"02lb2d9i12bxrz2ba5wygk2bycan316skqlyri0597q7j9210g8r")))) (sha256
(base32 "1cjpsc7q76yfgq9iyvswxgic4kfq2vcqdlmxjdjgd4lx87zvcwrv"))))
(build-system ocaml-build-system) (build-system ocaml-build-system)
(arguments (arguments
`(#:tests? #f `(#:tests? #f
@ -3534,9 +3535,9 @@ new record values.")
version=\"[distributed with ocaml]\" version=\"[distributed with ocaml]\"
description=\"dummy package for compatibility\" description=\"dummy package for compatibility\"
requires=\"\""))) requires=\"\"")))
#t)))))) #t))))))
(properties (properties
`((ocaml4.02-variant . ,(delay ocaml4.02-seq)))) `((ocaml4.02-variant . ,(delay ocaml4.02-seq))))
(home-page "https://github.com/c-cube/seq") (home-page "https://github.com/c-cube/seq")
(synopsis "OCaml's standard iterator type") (synopsis "OCaml's standard iterator type")
(description "This package is a compatibility package for OCaml's (description "This package is a compatibility package for OCaml's