mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
cfe1e45137
* libbsd: 0.11.3 -> 0.11.5 (#159492) * libbsd: clarify licensing Upstream references: https://gitlab.freedesktop.org/libbsd/libbsd/-/blob/0.11.5/COPYING Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
29 lines
851 B
Nix
29 lines
851 B
Nix
{ lib, stdenv, fetchurl, autoreconfHook, libmd }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libbsd";
|
|
version = "0.11.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://libbsd.freedesktop.org/releases/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-GpyVJSVjXBu2dwyyLpabk42Oap15EjYrmO6DcFmbDv0=";
|
|
};
|
|
|
|
outputs = [ "out" "dev" "man" ];
|
|
|
|
# darwin changes configure.ac which means we need to regenerate
|
|
# the configure scripts
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
propagatedBuildInputs = [ libmd ];
|
|
|
|
patches = [ ./darwin.patch ];
|
|
|
|
meta = with lib; {
|
|
description = "Common functions found on BSD systems";
|
|
homepage = "https://libbsd.freedesktop.org/";
|
|
license = with licenses; [ beerware bsd2 bsd3 bsdOriginal isc mit ];
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
maintainers = with maintainers; [ matthewbauer ];
|
|
};
|
|
}
|