mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
25 lines
605 B
Nix
25 lines
605 B
Nix
{ stdenv, lib, fetchzip }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zld";
|
|
version = "1.3.4";
|
|
src = fetchzip {
|
|
url = "https://github.com/michaeleisel/zld/releases/download/${version}/zld.zip";
|
|
sha256 = "sha256-w1Pe96sdCbrfYdfBpD0BBXu7cFdW3cpo0PCn1+UyZI8=";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp zld $out/bin/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Faster version of Apple's linker";
|
|
homepage = "https://github.com/michaeleisel/zld";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.rgnns ];
|
|
platforms = platforms.darwin;
|
|
hydraPlatforms = [];
|
|
};
|
|
}
|