mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 16:11:58 +00:00
428aae8c04
I love it when packages just need name and src Signed-off-by: Shea Levy <shea@shealevy.com>
21 lines
442 B
Nix
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 ];
|
|
};
|
|
}
|