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