lol
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 ];
15 buildInputs = [ libtool ];
16
17 preConfigure = ''
18 sh autogen.sh
19 '';
20
21 meta = with lib; {
22 homepage = "http://libhx.sourceforge.net/";
23 longDescription = ''
24 libHX is a C library (with some C++ bindings available) that provides data structures
25 and functions commonly needed, such as maps, deques, linked lists, string formatting
26 and autoresizing, option and config file parsing, type checking casts and more.
27 '';
28 maintainers = [ ];
29 platforms = platforms.linux;
30 license = with licenses; [ gpl3 lgpl21Plus wtfpl ];
31 };
32}