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
ocamlPackages.ezxmlm: init at 1.0.2 #47904
Conversation
a914864
to
7f8a20d
Compare
@GrahamcOfBorg build ocamlPackages.ezxmlm |
Success on aarch64-linux (full log) Attempted: ocamlPackages.ezxmlm Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: ocamlPackages.ezxmlm Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: ocamlPackages.ezxmlm Partial log (click to expand)
|
Are you sure this is the MIT license? It looks more like a (mangled...) version of the OpenBSD license to me. |
@srhb well spotted. I’m actually not sure 😅 I now remember I needed to look that up. The license file in the repo is a bit weird indeed. Do you reckon we can not include that metadata or is there some default we can use like “unknown”? Thanks for reviewing |
I think it's only the formatting that's mangled, but perhaps you can confirm with a proofread: https://en.wikipedia.org/wiki/ISC_license#OpenBSD_license If that is indeed the case, I think we should just add the openbsd license and refer to that. |
7b82c8f
to
3de7802
Compare
Updated in the latest commit :) |
|
||
buildInputs = [ ocaml findlib dune ]; | ||
|
||
buildPhase = "make build"; |
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 use buildFlags
instead. This makes overriding easier, etc.
# The license in the source does not explicitly say isc or openbsd, but | ||
# the text matches it closely: | ||
# https://en.wikipedia.org/wiki/ISC_license#OpenBSD_license | ||
license = licenses.isc; |
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.
They claim it there: https://github.com/ocaml/opam-repository/blob/master/packages/ezxmlm/ezxmlm.1.0.2/opam#L4 I think you can remove the comment.
repo = "ezxmlm"; | ||
rev = "v${version}"; | ||
sha256 = "1dgr61f0hymywikn67inq908x5adrzl3fjx3v14l9k46x7kkacl9"; | ||
}; |
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.
Maybe the release artifact (https://github.com/avsm/ezxmlm/releases/download/v1.0.2/ezxmlm-1.0.2.tbz) is a better source.
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.
Tried using this and it requires topkg-jbuilder
, which I don't think is currently available in nixpkgs. Don't know if I'm missing something though :)
3de7802
to
7fe76fd
Compare
7fe76fd
to
88395b2
Compare
Thanks for reviewing @vbgl. See latest commit with the changes you requested. Only thing what I couldn't get to work is using the release artifact, so still using |
Motivation for this change
Nice library to have :)
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)