about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/hare-third-party/hare-ssh/default.nix
blob: d25669f3664307a75592bcf43a0e308b9daaa879 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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;
  };
})