Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 pkg-config, 7 libconfuse, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "libite"; 12 version = "2.6.1"; 13 14 src = fetchFromGitHub { 15 owner = "troglobit"; 16 repo = "libite"; 17 rev = "v${version}"; 18 sha256 = "sha256-q1NoHSiPmFPwkTJqg3L5fEBXF/JjRWvA9e4d532ILE8="; 19 }; 20 21 nativeBuildInputs = [ 22 autoreconfHook 23 pkg-config 24 ]; 25 buildInputs = [ libconfuse ]; 26 27 meta = with lib; { 28 description = "Lightweight library of frog DNA"; 29 longDescription = '' 30 Libite is a lightweight library of frog DNA. It can be used to fill 31 the gaps in any dinosaur project. It holds useful functions and macros 32 developed by both Finit and the OpenBSD project. Most notably the 33 string functions: strlcpy(3), strlcat(3) and the highly useful *BSD 34 sys/queue.h and sys/tree.h API's. 35 36 Libite is the frog DNA missing in GNU libc. However, -lite does not 37 aim to become another GLIB! One noticeable gap in GLIBC is the missing 38 _SAFE macros in the BSD sys/queue.h API highly recommended when 39 traversing lists to delete/free nodes. 40 ''; 41 homepage = "https://github.com/troglobit/libite"; 42 platforms = with platforms; linux ++ netbsd; 43 maintainers = with maintainers; [ fpletz ]; 44 license = with licenses; [ 45 mit 46 isc 47 bsd2 48 bsd3 49 ]; 50 }; 51}