gnu: lablgtk3: Install with version information.

This is required so recent versions of coq can check version
requirements.

* gnu/packages/ocaml.scm (lablgtk3)[arguments]: Ensure version is added
to the META file.
This commit is contained in:
Julien Lepiller 2021-07-05 17:52:03 +02:00
parent 96707d5a30
commit 3589c17556
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -6902,8 +6902,12 @@ (define-public lablgtk3
(lambda _
(for-each (lambda (file)
(chmod file #o644))
(find-files "." "."))
#t)))))
(find-files "." "."))))
(add-before 'build 'set-version
(lambda _
(substitute* "dune-project"
(("\\(name lablgtk3\\)")
(string-append "(name lablgtk3)\n(version " ,version ")"))))))))
(propagated-inputs
`(("ocaml-cairo2" ,ocaml-cairo2)))
(inputs