summary refs log tree commit diff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2023-12-25 11:42:16 +0100
committerJulien Lepiller <julien@lepiller.eu>2023-12-30 22:12:06 +0100
commitdc86d672c95b6164f5501868e551886abe317782 (patch)
tree3bd6b11b099c9abd1197eed82656f88b84e1e40a
parentc02058bef6152f48b601aeb2c8334e08358ee625 (diff)
downloadguix-dc86d672c95b6164f5501868e551886abe317782.tar.gz
gnu: Remove ocaml4.07-variantslib.
* gnu/packages/ocaml.scm (ocaml4.07-variantslib): Remove variable.
(ocaml-variantslib)[properties]: Remove variant.

Change-Id: Ie05207ed1bb675c91e68058cd2a1ff0e63ccf532
-rw-r--r--gnu/packages/ocaml.scm19
1 files changed, 1 insertions, 18 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 9c72b93f4d..9682f5be8a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6476,30 +6476,13 @@ of a record and create new record values.")
      `(#:tests? #f))
     (propagated-inputs
      (list ocaml-base ocaml-migrate-parsetree ocaml-ppxlib))
-    (properties `((upstream-name . "variantslib")
-                  (ocaml4.07-variant . ,(delay ocaml4.07-variantslib))))
+    (properties `((upstream-name . "variantslib")))
     (home-page "https://github.com/janestreet/variantslib")
     (synopsis "OCaml variants as first class values")
     (description "The Core suite of libraries is an alternative to OCaml's
 standard library.")
     (license license:asl2.0)))
 
-(define-public ocaml4.07-variantslib
-  (package-with-ocaml4.07
-   (package
-     (inherit ocaml-variantslib)
-     (name "ocaml-variantslib")
-     (version "0.11.0")
-     (source (origin
-               (method url-fetch)
-               (uri (string-append "https://ocaml.janestreet.com/ocaml-core/v"
-                                   (version-major+minor version)
-                                   "/files/variantslib-v" version ".tar.gz"))
-               (sha256
-                (base32
-                 "1hsdwmkslvk4cznqr4lyyiy7vvk5spil226k0z2in26fxq6y0hf3"))))
-     (properties `((upstream-name . "variantslib"))))))
-
 (define-public ocaml-ppx-fields-conv
   (package
     (name "ocaml-ppx-fields-conv")