mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-31 16:42:38 -05:00
gnu: Add ocaml-ppx-variants-conv.
* gnu/packages/ocaml.scm (ocaml-ppx-variants-conv): New variable. (ocaml4.07-ppx-variants-conv): Inherit from ocaml-ppx-variants-conv. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
parent
9891f88f7d
commit
10ca414197
1 changed files with 40 additions and 25 deletions
|
@ -5272,32 +5272,29 @@ (define-public ocaml4.07-ppx-sexp-conv
|
||||||
"0pqwnqy1xp309wvdcaax4lg02yk64lq2w03mbgfvf6ps5ry4gis9"))))
|
"0pqwnqy1xp309wvdcaax4lg02yk64lq2w03mbgfvf6ps5ry4gis9"))))
|
||||||
(properties `((upstream-name . "ppx_sexp_conv"))))))
|
(properties `((upstream-name . "ppx_sexp_conv"))))))
|
||||||
|
|
||||||
(define-public ocaml4.07-ppx-variants-conv
|
(define-public ocaml-ppx-variants-conv
|
||||||
(package
|
(package
|
||||||
(name "ocaml4.07-ppx-variants-conv")
|
(name "ocaml-ppx-variants-conv")
|
||||||
(version "0.11.1")
|
(version "0.14.1")
|
||||||
(source (origin
|
(source
|
||||||
(method git-fetch)
|
(origin
|
||||||
(uri (git-reference
|
(method git-fetch)
|
||||||
(url "https://github.com/janestreet/ppx_variants_conv")
|
(uri (git-reference
|
||||||
(commit (string-append "v" version))))
|
(url "https://github.com/janestreet/ppx_variants_conv")
|
||||||
(file-name (git-file-name name version))
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(file-name (git-file-name name version))
|
||||||
(base32
|
(sha256
|
||||||
"1yc0gsds5m2nv39zga8nnrca2n75rkqy5dz4xj1635ybz20hhbjd"))))
|
(base32
|
||||||
|
"0q6a43zrwqzdz7aja0k44a2llyjjj5xzi2kigwhsnww3g0r5ig84"))))
|
||||||
(build-system dune-build-system)
|
(build-system dune-build-system)
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("ocaml-base" ,(package-with-ocaml4.07 ocaml-base))
|
`(("ocaml-base" ,ocaml-base)
|
||||||
("ocaml-variantslib" ,(package-with-ocaml4.07 ocaml-variantslib))
|
("ocaml-variantslib" ,ocaml-variantslib)
|
||||||
("ocaml-migrate-parsetree"
|
("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
|
||||||
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
("ocaml-ppxlib" ,ocaml-ppxlib)))
|
||||||
("ocaml-ppxlib" ,(package-with-ocaml4.07 ocaml-ppxlib))))
|
|
||||||
(arguments
|
|
||||||
`(#:ocaml ,ocaml-4.07
|
|
||||||
#:findlib ,ocaml4.07-findlib
|
|
||||||
#:dune ,ocaml4.07-dune))
|
|
||||||
(properties
|
(properties
|
||||||
`((upstream-name . "ppx_variants_conv")))
|
`((upstream-name . "ppx_variants_conv")
|
||||||
|
(ocaml4.07-variant . ,(delay ocaml4.07-ppx-variants-conv))))
|
||||||
(home-page
|
(home-page
|
||||||
"https://github.com/janestreet/ppx_variants_conv")
|
"https://github.com/janestreet/ppx_variants_conv")
|
||||||
(synopsis "Generation of accessor and iteration functions for OCaml variant types")
|
(synopsis "Generation of accessor and iteration functions for OCaml variant types")
|
||||||
|
@ -5306,6 +5303,24 @@ (define-public ocaml4.07-ppx-variants-conv
|
||||||
variant types.")
|
variant types.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public ocaml4.07-ppx-variants-conv
|
||||||
|
(package-with-ocaml4.07
|
||||||
|
(package
|
||||||
|
(inherit ocaml-ppx-variants-conv)
|
||||||
|
(name "ocaml-ppx-variants-conv")
|
||||||
|
(version "0.11.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/janestreet/ppx_variants_conv")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1yc0gsds5m2nv39zga8nnrca2n75rkqy5dz4xj1635ybz20hhbjd"))))
|
||||||
|
(properties `((upstream-name . "ppx_variants_conv"))))))
|
||||||
|
|
||||||
(define-public ocaml-ppx-custom-printf
|
(define-public ocaml-ppx-custom-printf
|
||||||
(package
|
(package
|
||||||
(name "ocaml-ppx-custom-printf")
|
(name "ocaml-ppx-custom-printf")
|
||||||
|
@ -5364,7 +5379,7 @@ (define-public ocaml4.07-bin-prot
|
||||||
("ocaml-ppx-custom-printf" ,(package-with-ocaml4.07 ocaml-ppx-custom-printf))
|
("ocaml-ppx-custom-printf" ,(package-with-ocaml4.07 ocaml-ppx-custom-printf))
|
||||||
("ocaml-ppx-fields-conv" ,(package-with-ocaml4.07 ocaml-ppx-fields-conv))
|
("ocaml-ppx-fields-conv" ,(package-with-ocaml4.07 ocaml-ppx-fields-conv))
|
||||||
("ocaml-ppx-sexp-conv" ,(package-with-ocaml4.07 ocaml-ppx-sexp-conv))
|
("ocaml-ppx-sexp-conv" ,(package-with-ocaml4.07 ocaml-ppx-sexp-conv))
|
||||||
("ocaml-ppx-variants-conv" ,ocaml4.07-ppx-variants-conv)
|
("ocaml-ppx-variants-conv" ,(package-with-ocaml4.07 ocaml-ppx-variants-conv))
|
||||||
("ocaml-migrate-parsetree"
|
("ocaml-migrate-parsetree"
|
||||||
,(package-with-ocaml4.07 ocaml-migrate-parsetree))))
|
,(package-with-ocaml4.07 ocaml-migrate-parsetree))))
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -5900,7 +5915,7 @@ (define-public ocaml4.07-ppx-expect
|
||||||
("ocaml-ppx-here" ,(package-with-ocaml4.07 ocaml-ppx-here))
|
("ocaml-ppx-here" ,(package-with-ocaml4.07 ocaml-ppx-here))
|
||||||
("ocaml-ppx-inline-test" ,(package-with-ocaml4.07 ocaml-ppx-inline-test))
|
("ocaml-ppx-inline-test" ,(package-with-ocaml4.07 ocaml-ppx-inline-test))
|
||||||
("ocaml-ppx-sexp-conv" ,(package-with-ocaml4.07 ocaml-ppx-sexp-conv))
|
("ocaml-ppx-sexp-conv" ,(package-with-ocaml4.07 ocaml-ppx-sexp-conv))
|
||||||
("ocaml-ppx-variants-conv" ,ocaml4.07-ppx-variants-conv)
|
("ocaml-ppx-variants-conv" ,(package-with-ocaml4.07 ocaml-ppx-variants-conv))
|
||||||
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))
|
("ocaml-stdio" ,(package-with-ocaml4.07 ocaml-stdio))
|
||||||
("ocaml-migrate-parsetree"
|
("ocaml-migrate-parsetree"
|
||||||
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
||||||
|
@ -6100,7 +6115,7 @@ (define-public ocaml4.07-ppx-jane
|
||||||
("ocaml-ppx-sexp-message" ,ocaml4.07-ppx-sexp-message)
|
("ocaml-ppx-sexp-message" ,ocaml4.07-ppx-sexp-message)
|
||||||
("ocaml-ppx-sexp-value" ,ocaml4.07-ppx-sexp-value)
|
("ocaml-ppx-sexp-value" ,ocaml4.07-ppx-sexp-value)
|
||||||
("ocaml-ppx-typerep-conv" ,ocaml4.07-ppx-typerep-conv)
|
("ocaml-ppx-typerep-conv" ,ocaml4.07-ppx-typerep-conv)
|
||||||
("ocaml-ppx-variants-conv" ,ocaml4.07-ppx-variants-conv)
|
("ocaml-ppx-variants-conv" ,(package-with-ocaml4.07 ocaml-ppx-variants-conv))
|
||||||
("ocaml-migrate-parsetree"
|
("ocaml-migrate-parsetree"
|
||||||
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
,(package-with-ocaml4.07 ocaml-migrate-parsetree))
|
||||||
("ocaml-ppxlib" ,(package-with-ocaml4.07 ocaml-ppxlib))))
|
("ocaml-ppxlib" ,(package-with-ocaml4.07 ocaml-ppxlib))))
|
||||||
|
|
Loading…
Reference in a new issue