Skip to content
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

ocaml-kafka: init at 0.4 #73584

Merged
merged 1 commit into from Nov 29, 2019
Merged

ocaml-kafka: init at 0.4 #73584

merged 1 commit into from Nov 29, 2019

Conversation

rixed
Copy link
Contributor

@rixed rixed commented Nov 17, 2019

Motivation for this change

Add the kafka bindings to OCaml

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

that's me

Copy link
Contributor

@vbgl vbgl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package description may be simpler if it used buildDunePackage.


buildInputs = [ ocaml findlib dune base cmdliner ocaml_lwt rdkafka zlib ];

propagatedBuildInputs = [ rdkafka zlib ];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The libraries that appear in propagatedBuildInputs need not be duplicated in the buildInputs list.

@rixed
Copy link
Contributor Author

rixed commented Nov 21, 2019

Indeed, updated. Also found the doc about buildDunePackage. Nice!

Thank you !

sha256 = "0lb8x0wh7sf8v9mjwhq32azjz54kw49fsjfb7m76z4nhxfkjw5hy";
};

buildInputs = [ base cmdliner ocaml_lwt zlib ];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
buildInputs = [ base cmdliner ocaml_lwt zlib ];
buildInputs = [ base cmdliner ocaml_lwt ];

@vbgl
Copy link
Contributor

vbgl commented Nov 29, 2019

@GrahamcOfBorg build ocamlPackages.kafka

@vbgl vbgl merged commit 7241339 into NixOS:master Nov 29, 2019
@rixed
Copy link
Contributor Author

rixed commented Nov 29, 2019

Hu, sorry, I'm moving house/country these days and had no time to look at this. Will be fully operational in a few more days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants