summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/c-ares
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-05-23 17:09:04 -0400
committerShea Levy <shea@shealevy.com>2013-05-27 02:05:55 -0400
commit428aae8c04aa9bd9b591427b67b4ef0470524e1f (patch)
tree5eab45bb39750589a55189ada63bd3f5de522547 /pkgs/development/libraries/c-ares
parent9d6e49382db5dcf050400241d285f735cb691aa5 (diff)
Add c-ares DNS library
I love it when packages just need name and src Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'pkgs/development/libraries/c-ares')
-rw-r--r--pkgs/development/libraries/c-ares/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/libraries/c-ares/default.nix b/pkgs/development/libraries/c-ares/default.nix
new file mode 100644
index 000000000000..c1b23179a1db
--- /dev/null
+++ b/pkgs/development/libraries/c-ares/default.nix
@@ -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 ];
+ };
+}