nur-packages/pkgs/development/libraries/libhl/default.nix
xeals d985759753
Some checks reported errors
continuous-integration/drone/push Build was killed
Port builds from nixos configuration
2020-10-15 19:05:13 +11:00

35 lines
699 B
Nix

{ stdenv
, fetchFromGitHub
, coreutils
, 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 = {
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 = stdenv.lib.licenses.lgpl3;
};
}