mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Add c-ares DNS library
I love it when packages just need name and src Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
9d6e49382d
commit
428aae8c04
20
pkgs/development/libraries/c-ares/default.nix
Normal file
20
pkgs/development/libraries/c-ares/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "c-ares-1.10.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://c-ares.haxx.se/download/${name}.tar.gz";
|
||||
sha256 = "1nyka87yf2jfd0y6sspll0yxwb8zi7kyvajrdbjmh4axc5s1cw1x";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A C library for asynchronous DNS requests";
|
||||
|
||||
homepage = http://c-ares.haxx.se;
|
||||
|
||||
license = stdenv.lib.licenses.mit;
|
||||
|
||||
maintainer = [ stdenv.lib.maintainers.shlevy ];
|
||||
};
|
||||
}
|
@ -3554,6 +3554,8 @@ let
|
||||
|
||||
bwidget = callPackage ../development/libraries/bwidget { };
|
||||
|
||||
c-ares = callPackage ../development/libraries/c-ares { };
|
||||
|
||||
caelum = callPackage ../development/libraries/caelum { };
|
||||
|
||||
scmccid = callPackage ../development/libraries/scmccid { };
|
||||
|
Loading…
Reference in New Issue
Block a user