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