gnu: Remove ocaml4.07-cstruct.

* gnu/packages/ocaml.scm (ocaml4.07-cstruct): Remove variable.
(ocaml-cstruct)[properties]: Remove variant.

Change-Id: I623e2947aa9a597d9ee1342f27c7ec98d171b05e
This commit is contained in:
Julien Lepiller 2023-12-24 14:10:37 +01:00
parent 1915c36374
commit dd96805c88
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -4852,7 +4852,6 @@ (define-public ocaml-cstruct
(list ocaml-bigarray-compat))
(native-inputs
(list ocaml-alcotest))
(properties `((ocaml4.07-variant . ,(delay ocaml4.07-cstruct))))
(home-page "https://github.com/mirage/ocaml-cstruct")
(synopsis "Access C structures via a camlp4 extension")
(description "Cstruct is a library and syntax extension to make it easier
@ -4860,22 +4859,6 @@ (define-public ocaml-cstruct
writing to these structures, and they are accessed via the Bigarray module.")
(license license:isc)))
(define-public ocaml4.07-cstruct
(package-with-ocaml4.07
(package
(inherit ocaml-cstruct)
(version "5.1.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mirage/ocaml-cstruct")
(commit (string-append "v" version))))
(file-name (git-file-name "ocaml-cstruct" version))
(sha256
(base32
"0jj3whs8r3jc524i9bb67rffh7y7r157hjgvws0bkxijxpjzwkbk"))))
(properties '()))))
;; TODO again, the "parent" package already has an explicit package argument,
;; so a variant package doesn't make sense, at least these aliases help the
;; importer out so it doesn't re-import things. At least hopefully.