Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 30 lines 892 B view raw
1{ stdenv, fetchurl, autoconf, automake, libtool }: 2 3stdenv.mkDerivation rec { 4 name = "libHX-3.22"; 5 6 src = fetchurl { 7 url = "mirror://sourceforge/libhx/libHX/3.22/${name}.tar.xz"; 8 sha256 = "18w39j528lyg2026dr11f2xxxphy91cg870nx182wbd8cjlqf86c"; 9 }; 10 11 patches = []; 12 13 buildInputs = [ autoconf automake libtool ]; 14 15 preConfigure = '' 16 sh autogen.sh 17 ''; 18 19 meta = with stdenv.lib; { 20 homepage = http://libhx.sourceforge.net/; 21 longDescription = '' 22 libHX is a C library (with some C++ bindings available) that provides data structures 23 and functions commonly needed, such as maps, deques, linked lists, string formatting 24 and autoresizing, option and config file parsing, type checking casts and more. 25 ''; 26 maintainers = [ maintainers.tstrobel ]; 27 platforms = platforms.linux; 28 license = with licenses; [ gpl3 lgpl21Plus wtfpl ]; 29 }; 30}