bfs: 2.3.1 -> 2.6

bfs now relies on oniguruma for regex support therefore we need to add
oniguruma to the buildInputs.
This commit is contained in:
kilianar 2022-06-16 14:47:22 +02:00
parent d72af2c373
commit 4a07f05af1

View file

@ -1,17 +1,17 @@
{ lib, stdenv, fetchFromGitHub, libcap, acl }:
{ lib, stdenv, fetchFromGitHub, libcap, acl, oniguruma }:
stdenv.mkDerivation rec {
pname = "bfs";
version = "2.3.1";
version = "2.6";
src = fetchFromGitHub {
repo = "bfs";
owner = "tavianator";
rev = version;
sha256 = "sha256-V82UdCG0J04sZP3FTVQqANrez/LCwOLQY6zzFOoIeNo=";
sha256 = "sha256-QFhU8MElVaEtjCP0Wjt8d9/etCYsy4QrpOFldVdok8k=";
};
buildInputs = lib.optionals stdenv.isLinux [ libcap acl ];
buildInputs = [ oniguruma ] ++ lib.optionals stdenv.isLinux [ libcap acl ];
# Disable LTO on darwin. See https://github.com/NixOS/nixpkgs/issues/19098
preConfigure = lib.optionalString stdenv.isDarwin ''