From dbcbb2dbe146b30a5da2ecbbdc7eb808d82a3c97 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Sat, 25 Apr 2015 15:08:26 -0700 Subject: [PATCH] libasyncns: Add derivation --- .../libraries/libasyncns/default.nix | 18 ++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/libasyncns/default.nix diff --git a/pkgs/development/libraries/libasyncns/default.nix b/pkgs/development/libraries/libasyncns/default.nix new file mode 100644 index 000000000000..bc21237e238d --- /dev/null +++ b/pkgs/development/libraries/libasyncns/default.nix @@ -0,0 +1,18 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "libasyncns-0.8"; + + src = fetchurl { + url = "http://0pointer.de/lennart/projects/libasyncns/${name}.tar.gz"; + sha256 = "0x5b6lcic4cd7q0bx00x93kvpyzl7n2abbgvqbrlzrfb8vknc6jg"; + }; + + meta = with stdenv.lib; { + homepage = http://0pointer.de/lennart/projects/libasyncns/; + description = "a C library for Linux/Unix for executing name service queries asynchronously"; + license = licenses.lgpl21; + platforms = platforms.unix; + maintainers = with maintainers; [ wkennington ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f51af3890db3..53ce226c9343 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6279,6 +6279,8 @@ let automake = automake112x; # fails with 13 and 14 }; + libasyncns = callPackage ../development/libraries/libasyncns { }; + libatomic_ops = callPackage ../development/libraries/libatomic_ops {}; libav = libav_11; # branch 11 is API-compatible with branch 10