about summary refs log tree commit diff
path: root/pkgs/development/hare-third-party
diff options
context:
space:
mode:
authorJanik <80165193+Janik-Haag@users.noreply.github.com>2024-01-16 05:11:46 +0100
committerGitHub <noreply@github.com>2024-01-16 05:11:46 +0100
commitac91019d4412be0f68698b2956d0a836535fefa0 (patch)
treeeddc328026e266655c1c2d681942dfe42a09148c /pkgs/development/hare-third-party
parent0661ef8d54324b42d279fba56d5280781a21da9d (diff)
parent939f41e18399f45e610ec6d3c752acc1ab3ee3d7 (diff)
Merge pull request #276437 from patwid/hare-ssh
hareThirdParty.hare-ssh: init at unstable-2023-11-16
Diffstat (limited to 'pkgs/development/hare-third-party')
-rw-r--r--pkgs/development/hare-third-party/hare-ssh/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/hare-third-party/hare-ssh/default.nix b/pkgs/development/hare-third-party/hare-ssh/default.nix
new file mode 100644
index 0000000000000..d25669f366430
--- /dev/null
+++ b/pkgs/development/hare-third-party/hare-ssh/default.nix
@@ -0,0 +1,31 @@
+{ lib, stdenv, hare, hareThirdParty, fetchFromSourcehut }:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "hare-ssh";
+  version = "unstable-2023-11-16";
+
+  src = fetchFromSourcehut {
+    owner = "~sircmpwn";
+    repo = "hare-ssh";
+    rev = "c6a39e37ba4a42721594e0a907fe016f8e2198a8";
+    hash = "sha256-I43TLPoImBsvkgV3hDy9dw0pXVt4ezINnxFtEV9P2/M=";
+  };
+
+  nativeBuildInputs = [ hare ];
+
+  makeFlags = [
+    "PREFIX=${builtins.placeholder "out"}"
+    "HARECACHE=.harecache"
+  ];
+
+  doCheck = true;
+
+  meta = with lib; {
+    homepage = "https://git.sr.ht/~sircmpwn/hare-ssh/";
+    description = "SSH client & server protocol implementation for Hare";
+    license = with licenses; [ mpl20 ];
+    maintainers = with maintainers; [ patwid ];
+
+    inherit (hare.meta) platforms badPlatforms;
+  };
+})