nixpkgs/pkgs/development/libraries/c-ares/default.nix
Shea Levy 428aae8c04 Add c-ares DNS library
I love it when packages just need name and src

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-27 02:05:55 -04:00

21 lines
442 B
Nix

{ 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 ];
};
}