1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libconfuse }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-iviHxGXYUMjTgafkG4aqeHd9cnHA2VNhYG2eUta9R0Q=";
14 nativeBuildInputs = [ autoreconfHook pkg-config ];
15 buildInputs = [ libconfuse ];
18 description = "Lightweight library of frog DNA";
20 Libite is a lightweight library of frog DNA. It can be used to fill
21 the gaps in any dinosaur project. It holds useful functions and macros
22 developed by both Finit and the OpenBSD project. Most notably the
23 string functions: strlcpy(3), strlcat(3) and the highly useful *BSD
24 sys/queue.h and sys/tree.h API's.
26 Libite is the frog DNA missing in GNU libc. However, -lite does not
27 aim to become another GLIB! One noticeable gap in GLIBC is the missing
28 _SAFE macros in the BSD sys/queue.h API — highly recommended when
29 traversing lists to delete/free nodes.
31 homepage = "https://github.com/troglobit/libite";
32 platforms = with platforms; linux ++ netbsd;
33 maintainers = with maintainers; [ fpletz ];
34 license = with licenses; [ mit isc bsd2 bsd3 ];