ocamlPackages.camomile: append version to META file

This commit is contained in:
Daniel Olsen
2022-03-08 11:54:06 +01:00
committed by Vincent Laporte
parent 9d228cdfe3
commit c7b3a73f99
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, cppo }:
{ lib, fetchFromGitHub, buildDunePackage, ocaml, cppo }:
buildDunePackage rec {
pname = "camomile";
@@ -23,6 +23,10 @@ buildDunePackage rec {
runHook postConfigure
'';
postInstall = ''
echo "version = \"${version}\"" >> $out/lib/ocaml/${ocaml.version}/site-lib/camomile/META
'';
meta = {
inherit (src.meta) homepage;
maintainers = [ lib.maintainers.vbgl ];