Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 36 lines 1.2 kB view raw
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libconfuse }: 2 3stdenv.mkDerivation rec { 4 name = "libite-${version}"; 5 version = "2.0.1"; 6 7 src = fetchFromGitHub { 8 owner = "troglobit"; 9 repo = "libite"; 10 rev = "v${version}"; 11 sha256 = "07zypi3f02ygl7h5yc9sy136iiwgdi3r3nkjai9bq4gzjmzsvyl9"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkgconfig ]; 15 buildInputs = [ libconfuse ]; 16 17 meta = with stdenv.lib; { 18 inherit (src.meta) homepage; 19 description = "Lightweight library of frog DNA"; 20 longDescription = '' 21 Libite is a lightweight library of frog DNA. It can be used to fill 22 the gaps in any dinosaur project. It holds useful functions and macros 23 developed by both Finit and the OpenBSD project. Most notably the 24 string functions: strlcpy(3), strlcat(3) and the highly useful *BSD 25 sys/queue.h and sys/tree.h API's. 26 27 Libite is the frog DNA missing in GNU libc. However, -lite does not 28 aim to become another GLIB! One noticeable gap in GLIBC is the missing 29 _SAFE macros in the BSD sys/queue.h API highly recommended when 30 traversing lists to delete/free nodes. 31 ''; 32 platforms = platforms.unix; 33 maintainers = with maintainers; [ fpletz ]; 34 }; 35} 36