Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 24 lines 607 B view raw
1{ stdenv, lib, fetchzip }: 2 3stdenv.mkDerivation rec { 4 pname = "zld"; 5 version = "1.3.4"; 6 src = fetchzip { 7 url = "https://github.com/michaeleisel/zld/releases/download/${version}/zld.zip"; 8 sha256 = "sha256-w1Pe96sdCbrfYdfBpD0BBXu7cFdW3cpo0PCn1+UyZI8="; 9 }; 10 11 installPhase = '' 12 mkdir -p $out/bin 13 cp zld $out/bin/ 14 ''; 15 16 meta = with lib; { 17 description = "A faster version of Apple's linker"; 18 homepage = "https://github.com/michaeleisel/zld"; 19 license = licenses.mit; 20 maintainers = [ maintainers.rgnns ]; 21 platforms = platforms.darwin; 22 hydraPlatforms = []; 23 }; 24}