Files
nur-packages/pkgs/by-name/li/libhl/package.nix
xeals da8690addb
Some checks failed
CI / checks (nur) (push) Successful in 3m26s
CI / build-and-update (xeals, xeals) (push) Successful in 19m39s
Update flake inputs / update-flake (push) Failing after 2m27s
libhl: mark as broken
probably related to https://github.com/NixOS/nixpkgs/issues/475479
2026-01-03 09:48:32 +11:00

37 lines
742 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, autoreconfHook
}:
stdenv.mkDerivation rec {
pname = "libhl";
version = "3.1";
src = fetchFromGitHub {
owner = "xant";
repo = pname;
rev = "${pname}-${version}";
sha256 = "05mrp5rmki0wghdpmcgvsi8lqhfshifbmhp1qlkd89fb2srq91lf";
};
nativeBuildInputs = [
autoreconfHook
];
patches = [ ./fix-link.patch ];
preInstall = ''
mkdir -p $out/include $out/lib
'';
meta = with lib; {
homepage = "https://github.com/xant/libhl";
description = "Simple and fast C library implementing a thread-safe API to manage hash-tables, linked lists, lock-free ring buffers and queues ";
license = licenses.lgpl3;
platforms = platforms.all;
broken = true;
};
}