mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
https://github.com/apple-oss-distributions/patch_cmds/compare/patch_cmds-72...patch_cmds-75
41 lines
665 B
Nix
41 lines
665 B
Nix
{
|
|
lib,
|
|
apple-sdk_26,
|
|
libutil,
|
|
mkAppleDerivation,
|
|
pkg-config,
|
|
}:
|
|
|
|
mkAppleDerivation {
|
|
releaseName = "patch_cmds";
|
|
|
|
outputs = [
|
|
"out"
|
|
"man"
|
|
];
|
|
|
|
patches = [
|
|
# Use `scandir` on versions of macOS older than 26.4.
|
|
./patches/0001-Fall-back-to-scandir.patch
|
|
];
|
|
|
|
xcodeHash = "sha256-Ox8Ii2sUuledUttZ64DaHC0iFlUybs3lNZ23IDeziPM=";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
|
apple-sdk_26
|
|
libutil
|
|
];
|
|
|
|
meta = {
|
|
description = "BSD patch commands for Darwin";
|
|
license = [
|
|
lib.licenses.apple-psl10
|
|
lib.licenses.bsd2 # -freebsd
|
|
lib.licenses.bsd3
|
|
lib.licenses.bsdOriginal
|
|
];
|
|
};
|
|
}
|