2022-03-18 00:59:05 +00:00
|
|
|
{ stdenv, lib, fetchzip }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zld";
|
2022-08-29 20:46:54 +00:00
|
|
|
version = "1.3.4";
|
2022-03-18 00:59:05 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/michaeleisel/zld/releases/download/${version}/zld.zip";
|
2022-08-29 20:46:54 +00:00
|
|
|
sha256 = "1rzdcrky0dl9n7niv39a5gc7q7rwl8jv6h77nvm6gwdymkjf2973";
|
2022-03-18 00:59:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp zld $out/bin/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A faster version of Apple's linker";
|
|
|
|
homepage = "https://github.com/michaeleisel/zld";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.rgnns ];
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
hydraPlatforms = [];
|
|
|
|
};
|
|
|
|
}
|