2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoconf, automake, libtool }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-21 07:28:18 +00:00
|
|
|
pname = "libHX";
|
|
|
|
version = "3.22";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-21 07:28:18 +00:00
|
|
|
url = "mirror://sourceforge/libhx/libHX/${version}/${pname}-${version}.tar.xz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "18w39j528lyg2026dr11f2xxxphy91cg870nx182wbd8cjlqf86c";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [];
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sh autogen.sh
|
2023-04-12 12:48:02 +00:00
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://libhx.sourceforge.net/";
|
2020-04-24 23:36:52 +00:00
|
|
|
longDescription = ''
|
|
|
|
libHX is a C library (with some C++ bindings available) that provides data structures
|
|
|
|
and functions commonly needed, such as maps, deques, linked lists, string formatting
|
|
|
|
and autoresizing, option and config file parsing, type checking casts and more.
|
|
|
|
'';
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = with licenses; [ gpl3 lgpl21Plus wtfpl ];
|
|
|
|
};
|
|
|
|
}
|