ocamlPackages.camomile: append version to META file
This commit is contained in:
parent
9d228cdfe3
commit
c7b3a73f99
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchFromGitHub, buildDunePackage, cppo }:
|
{ lib, fetchFromGitHub, buildDunePackage, ocaml, cppo }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "camomile";
|
pname = "camomile";
|
||||||
|
@ -23,6 +23,10 @@ buildDunePackage rec {
|
||||||
runHook postConfigure
|
runHook postConfigure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
echo "version = \"${version}\"" >> $out/lib/ocaml/${ocaml.version}/site-lib/camomile/META
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
inherit (src.meta) homepage;
|
inherit (src.meta) homepage;
|
||||||
maintainers = [ lib.maintainers.vbgl ];
|
maintainers = [ lib.maintainers.vbgl ];
|
||||||
|
|
Loading…
Reference in a new issue