summary refs log tree commit diff
path: root/pkgs/os-specific/windows
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-05-18 18:01:51 +0000
committerGitHub <noreply@github.com>2022-05-18 18:01:51 +0000
commit39ddfff2f29dd3527aea2b2767b72ba60abbb759 (patch)
treed63f949ab643ba78fa3a79f226b32f49f5e3a7e5 /pkgs/os-specific/windows
parent15f3cc41fbdfcb804d9725e6c94878c355ef120c (diff)
parent925219f62bae53c1c03be0fbf2617ce40b28af0f (diff)
downloadnixpkgs-39ddfff2f29dd3527aea2b2767b72ba60abbb759.tar
nixpkgs-39ddfff2f29dd3527aea2b2767b72ba60abbb759.tar.gz
nixpkgs-39ddfff2f29dd3527aea2b2767b72ba60abbb759.tar.bz2
nixpkgs-39ddfff2f29dd3527aea2b2767b72ba60abbb759.tar.lz
nixpkgs-39ddfff2f29dd3527aea2b2767b72ba60abbb759.tar.xz
nixpkgs-39ddfff2f29dd3527aea2b2767b72ba60abbb759.tar.zst
nixpkgs-39ddfff2f29dd3527aea2b2767b72ba60abbb759.zip
Merge staging-next into staging
Diffstat (limited to 'pkgs/os-specific/windows')
-rw-r--r--pkgs/os-specific/windows/default.nix2
-rw-r--r--pkgs/os-specific/windows/npiperelay/default.nix23
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/os-specific/windows/default.nix b/pkgs/os-specific/windows/default.nix
index 15e3d7f89ab..c34f97a17db 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 00000000000..edc83a27e55
--- /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;
+  };
+}