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 = [];
|
|
|
|
|
2022-04-03 18:54:34 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake ];
|
|
|
|
buildInputs = [ libtool ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sh autogen.sh
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://libhx.sourceforge.net/";
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
maintainers = [ maintainers.tstrobel ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = with licenses; [ gpl3 lgpl21Plus wtfpl ];
|
|
|
|
};
|
|
|
|
}
|