mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
bcff2ac7eb
this is in service of getting elfutils building against musl-libc again. the currently-included netbsd.fts package has a bunch of #define collisions with current elfutils, so pulling this library in, which is what both void and alpine linux do.
26 lines
638 B
Nix
26 lines
638 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "musl-fts";
|
|
version = "1.2.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "void-linux";
|
|
repo = "musl-fts";
|
|
rev = "v${version}";
|
|
sha256 = "Azw5qrz6OKDcpYydE6jXzVxSM5A8oYWAztrHr+O/DOE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/void-linux/musl-fts";
|
|
description = "An implementation of fts(3) for musl-libc";
|
|
platforms = platforms.linux;
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.pjjw ];
|
|
};
|
|
}
|