New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stog: init at 0.17.0 #24241
stog: init at 0.17.0 #24241
Conversation
}: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "stog${version}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may want to add a dash ‘-’ between stog
and its version.
|
||
createFindlibDestdir = true; | ||
|
||
patches = ./install.patch; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The patches
attribute is expected to be a list, I think.
patches = ./install.patch; | ||
|
||
meta = with stdenv.lib; { | ||
description = "XML documents and web site compiler."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Descriptions are preferred without a final period.
then throw "xtmpl not supported for ocaml ${ocaml.version}" | ||
else | ||
stdenv.mkDerivation rec { | ||
name = "xtmpl${version}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a dash here too.
@vbgl: thanks for the review, I updated tho PR accordingly
|
}; | ||
|
||
buildInputs = [ ocaml ocf ptime uutf uri ppx_blob xtmpl ocaml_lwt higlo camlp4 ]; | ||
propagatedBuildInputs = [ findlib omd ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did you chose this list of propagated inputs? The stog
library needs some more.
Indeed, I just picked the one needed for the binary. I'll propagate
the ocaml modules needed by the library as well.
|
Thanks |
(and adds other needed packages)
Tested on NixOS (and with
nox-review
).