ocamlPackages.camomile: append version to META file

This commit is contained in:
Daniel Olsen 2021-10-06 18:49:20 +02:00 committed by Vincent Laporte
parent 9d228cdfe3
commit c7b3a73f99

View file

@ -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 ];