{ pkgs ? import {} }: pkgs.stdenv.mkDerivation { name = "npiperelay"; src = pkgs.fetchurl { url = "https://github.com/rupor-github/wsl-ssh-agent/releases/download/v1.6.3/wsl-ssh-agent.zip"; sha256 = "39e6765a6836484707c26f3372561380b1e619492dc91bf8ebeec37aaee8f3d7"; }; phases = ["installPhase" "patchPhase"]; installPhase = '' mkdir -p $out/bin cp $src $out/bin/npiperelay.exe chmod +x $out/bin/npiperelay.exe ''; }