Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 37 lines 1.3 kB view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libconfuse }: 2 3stdenv.mkDerivation rec { 4 pname = "libite"; 5 version = "2.6.1"; 6 7 src = fetchFromGitHub { 8 owner = "troglobit"; 9 repo = "libite"; 10 rev = "v${version}"; 11 sha256 = "sha256-q1NoHSiPmFPwkTJqg3L5fEBXF/JjRWvA9e4d532ILE8="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 buildInputs = [ libconfuse ]; 16 17 meta = with lib; { 18 description = "Lightweight library of frog DNA"; 19 longDescription = '' 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. 25 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. 30 ''; 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 ]; 35 }; 36} 37