mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
41 lines
1.0 KiB
Nix
41 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromCodeberg,
|
|
autoreconfHook,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libhx";
|
|
version = "5.4";
|
|
|
|
src = fetchFromCodeberg {
|
|
tag = "v${finalAttrs.version}";
|
|
owner = "jengelh";
|
|
repo = "libhx";
|
|
hash = "sha256-rM0J9IHjxgHsedFiCl6LA54JBHkwuHFYfoFp4j6b3Kw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
homepage = "https://inai.de/projects/libhx/";
|
|
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.
|
|
'';
|
|
changelog = "https://codeberg.org/jengelh/libhx/src/branch/master/doc/changelog.rst";
|
|
maintainers = with lib.maintainers; [ chillcicada ];
|
|
platforms = lib.platforms.linux;
|
|
license = with lib.licenses; [
|
|
gpl3
|
|
lgpl21Plus
|
|
mit
|
|
];
|
|
};
|
|
})
|