depot/third_party/nixpkgs/pkgs/os-specific/linux/musl-obstack/default.nix
Default email bb5b50588c Project import generated by Copybara.
GitOrigin-RevId: 9816b99e71c3504b0b4c1f8b2e004148460029d4
2021-02-19 20:06:45 +01:00

26 lines
712 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config }:
stdenv.mkDerivation rec {
pname = "musl-obstack";
version = "1.2.2";
src = fetchFromGitHub {
owner = "void-linux";
repo = "musl-obstack";
rev = "v${version}";
sha256 = "v0RTnrqAmJfOeGsJFc04lqFR8QZhYiLyvy8oRYiuC80=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
enableParallelBuilding = true;
meta = with lib; {
homepage = "https://github.com/void-linux/musl-obstack";
description =
"An extraction of the obstack functions and macros from GNU libiberty for use with musl-libc";
platforms = platforms.linux;
license = licenses.lgpl21Plus;
maintainers = [ maintainers.pjjw ];
};
}