2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoconf, automake, libtool }:
|
2014-09-15 09:55:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-06-20 14:15:21 +00:00
|
|
|
pname = "libHX";
|
|
|
|
version = "3.22";
|
2014-09-15 09:55:23 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-20 14:15:21 +00:00
|
|
|
url = "mirror://sourceforge/libhx/libHX/${version}/${pname}-${version}.tar.xz";
|
2018-02-27 04:37:19 +00:00
|
|
|
sha256 = "18w39j528lyg2026dr11f2xxxphy91cg870nx182wbd8cjlqf86c";
|
2014-09-15 09:55:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [];
|
|
|
|
|
2023-03-15 06:31:58 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool ];
|
2014-09-15 09:55:23 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sh autogen.sh
|
2023-03-15 06:31:58 +00:00
|
|
|
'';
|
2014-09-15 09:55:23 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://libhx.sourceforge.net/";
|
2014-09-15 10:30:19 +00:00
|
|
|
longDescription = ''
|
2014-09-15 09:55:23 +00:00
|
|
|
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-06-22 23:40:02 +00:00
|
|
|
maintainers = [ ];
|
2018-10-17 17:56:01 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = with licenses; [ gpl3 lgpl21Plus wtfpl ];
|
2014-09-15 09:55:23 +00:00
|
|
|
};
|
|
|
|
}
|