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

getdns: init -> 1.3.0 #34910

Closed
wants to merge 0 commits into from
Closed

getdns: init -> 1.3.0 #34910

wants to merge 0 commits into from

Conversation

leenaars
Copy link
Contributor

Motivation for this change

This is a very useful library that provides an abstraction of DNS to application developers.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • 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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.


nativeBuildInputs = [ libtool m4 libbsd ];

buildInputs = [ unbound libidn openssl doxygen autoreconfHook
Copy link
Member

Choose a reason for hiding this comment

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

autoreconfHook, automake and file also belongs in nativeBuildInputs.

Copy link
Member

Choose a reason for hiding this comment

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

I believe doxygen is a build-time only dependency as well.

@adisbladis
Copy link
Member

I would prefer getdns: init at 1.3.0 as the commit message.


nativeBuildInputs = [ libtool m4 libbsd ];

buildInputs = [ unbound libidn openssl doxygen autoreconfHook
Copy link
Member

Choose a reason for hiding this comment

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

I believe doxygen is a build-time only dependency as well.

buildInputs = [ unbound libidn openssl doxygen autoreconfHook
automake file check ];

patchPhase = ''substituteInPlace m4/acx_openssl.m4 \
Copy link
Member

Choose a reason for hiding this comment

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

Format it like this:

patchPhase = ''
  substituteInPlace m4/acx_openssl.m4 \
    --replace /usr/local/ssl ${openssl.dev}
'';

meta = with stdenv.lib; {
description = "A modern asynchronous DNS API";
longDescription = ''
getdns is an implementation of a modern asynchronous DNS API; the
Copy link
Member

Choose a reason for hiding this comment

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

You can safely indent the description inside '' quote.

inspire application developers to implement innovative security
solutions in their applications.
'';
homepage = "https://getdnsapi.net";
Copy link
Member

Choose a reason for hiding this comment

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

Use

homepage = https://getdnsapi.net;

(URL is a first-class type in Nix.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@leenaars
Copy link
Contributor Author

All comments processed.

@adisbladis
Copy link
Member

@leenaars I dont think you meant to close this?

@vcunat
Copy link
Member

vcunat commented Feb 13, 2018

GitHub PRs are updated via (force-)pushing the branch from which they're filed.

@leenaars
Copy link
Contributor Author

leenaars commented Feb 13, 2018

@adisbladis: I thought someone merged (it says: "Pull request successfully merged and closed").
It turns out to be something that happens when HEAD is detached, and a force push is made - somehow the reworking of the PR resulted in an empty branch. This means to Github "merged" apparently.

I'll submit another pull request. Thanks for the alert.

Update: I submitted #34921.

@leenaars leenaars mentioned this pull request Feb 13, 2018
8 tasks
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

5 participants