mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: Add ocaml-sqlite3.
* gnu/packages/ocaml.scm (ocaml-sqlite3): New variable. (ocaml4.07-sqlite3): Inherit from ocaml-sqlite3. * gnu/packages/bioinformatics.scm (pplacer): Also use package-with-ocaml4.07 with ocaml-sqlite3.
This commit is contained in:
parent
45940f59aa
commit
ef79d6c5d6
2 changed files with 27 additions and 14 deletions
|
@ -13002,7 +13002,7 @@ (define-public pplacer
|
|||
("ocaml-batteries" ,(package-with-ocaml4.07 ocaml-batteries))
|
||||
("ocaml-camlzip" ,(package-with-ocaml4.07 camlzip))
|
||||
("ocaml-csv" ,(package-with-ocaml4.07 ocaml-csv))
|
||||
("ocaml-sqlite3" ,ocaml4.07-sqlite3)
|
||||
("ocaml-sqlite3" ,(package-with-ocaml4.07 ocaml-sqlite3))
|
||||
("ocaml-xmlm" ,(package-with-ocaml4.07 ocaml-xmlm))
|
||||
("ocaml-mcl" ,(package-with-ocaml4.07 ocaml-mcl))
|
||||
("ocaml-gsl" ,ocaml4.07-gsl-1)))
|
||||
|
|
|
@ -1959,10 +1959,10 @@ (define-public ocaml-rresult
|
|||
library.")
|
||||
(license license:isc)))
|
||||
|
||||
(define-public ocaml4.07-sqlite3
|
||||
(define-public ocaml-sqlite3
|
||||
(package
|
||||
(name "ocaml4.07-sqlite3")
|
||||
(version "4.4.1")
|
||||
(name "ocaml-sqlite3")
|
||||
(version "5.0.2")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -1972,18 +1972,16 @@ (define-public ocaml4.07-sqlite3
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1536agm5fgcqysszhpd3kmw7lkc5n5ni7gmlyglrbvmnmrwf3av2"))))
|
||||
"15mmq7ak5facpfawfrc6hjz211gli7jab52iqdsihfvh790xm55f"))))
|
||||
(build-system dune-build-system)
|
||||
(arguments
|
||||
`(#:ocaml ,ocaml-4.07
|
||||
#:findlib ,ocaml4.07-findlib
|
||||
#:dune ,ocaml4.07-dune))
|
||||
(properties `((ocaml4.07-variant . ,(delay ocaml4.07-sqlite3))))
|
||||
(propagated-inputs
|
||||
`(("dune-configurator" ,dune-configurator)
|
||||
("ocaml-odoc" ,ocaml-odoc)))
|
||||
(native-inputs
|
||||
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
||||
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))
|
||||
("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("sqlite" ,sqlite)))
|
||||
`(("ocaml-ppx-inline-test" ,ocaml-ppx-inline-test)
|
||||
("pkg-config" ,pkg-config)
|
||||
("sqlite" ,sqlite)))
|
||||
(home-page "https://mmottl.github.io/sqlite3-ocaml")
|
||||
(synopsis "SQLite3 Bindings for OCaml")
|
||||
(description
|
||||
|
@ -1995,6 +1993,21 @@ (define-public ocaml4.07-sqlite3
|
|||
@code{ocaml-sqlite}.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ocaml4.07-sqlite3
|
||||
(package-with-ocaml4.07
|
||||
(package
|
||||
(inherit ocaml-sqlite3)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'build 'chmod
|
||||
(lambda _
|
||||
(for-each (lambda (file) (chmod file #o644)) (find-files "." ".*"))
|
||||
#t)))))
|
||||
(propagated-inputs
|
||||
`(("ocaml-odoc" ,ocaml-odoc)))
|
||||
(properties '()))))
|
||||
|
||||
(define-public ocaml-csv
|
||||
(package
|
||||
(name "ocaml-csv")
|
||||
|
|
Loading…
Reference in a new issue