diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-05-18 18:01:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-18 18:01:13 +0000 |
commit | 925219f62bae53c1c03be0fbf2617ce40b28af0f (patch) | |
tree | a47f734616b113cab0c8f463364375b7a95fe198 /pkgs/os-specific/windows | |
parent | e7f5c53e02989730f7a9433c417d8076316724d7 (diff) | |
parent | 974ba4eaa6e23ba6331ffc6f9a6ec47a23826e27 (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/os-specific/windows')
-rw-r--r-- | pkgs/os-specific/windows/default.nix | 2 | ||||
-rw-r--r-- | pkgs/os-specific/windows/npiperelay/default.nix | 23 |
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/os-specific/windows/default.nix b/pkgs/os-specific/windows/default.nix index 15e3d7f89ab67..c34f97a17db25 100644 --- a/pkgs/os-specific/windows/default.nix +++ b/pkgs/os-specific/windows/default.nix @@ -37,6 +37,8 @@ lib.makeScope newScope (self: with self; { stdenv = crossThreadsStdenv; }; + npiperelay = callPackage ./npiperelay { }; + pthreads = callPackage ./pthread-w32 { }; wxMSW = callPackage ./wxMSW-2.8 { }; diff --git a/pkgs/os-specific/windows/npiperelay/default.nix b/pkgs/os-specific/windows/npiperelay/default.nix new file mode 100644 index 0000000000000..edc83a27e551d --- /dev/null +++ b/pkgs/os-specific/windows/npiperelay/default.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "npiperelay"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "jstarks"; + repo = "npiperelay"; + rev = "v${version}"; + sha256 = "sha256-cg4aZmpTysc8m1euxIO2XPv8OMnBk1DwhFcuIFHF/1o="; + }; + + vendorSha256 = null; + + meta = { + description = "Access Windows named pipes from WSL"; + homepage = "https://github.com/jstarks/npiperelay"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.shlevy ]; + platforms = lib.platforms.windows; + }; +} |