1 { lib, stdenv, fetchFromGitHub, installShellFiles }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-amqkDXdgIqGjRZMkltwco0UAI++G0RY/MxLXwtlxogE=";
14 nativeBuildInputs = [ installShellFiles ];
17 install -m0755 -D wsl-open.sh $out/bin/wsl-open
18 installManPage wsl-open.1
22 description = "Open files with xdg-open from Windows Subsystem for Linux (WSL) in Windows applications";
23 homepage = "https://gitlab.com/4U6U57/wsl-open";
24 license = licenses.mit;
25 platforms = platforms.all;
26 maintainers = with maintainers; [ SuperSandro2000 ];
27 mainProgram = "wsl-open";