34 lines
710 B
Nix
34 lines
710 B
Nix
{
|
|
fetchFromSourcehut,
|
|
hareHook,
|
|
lib,
|
|
stdenv,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "hare-ssh";
|
|
version = "0.26.0";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~sircmpwn";
|
|
repo = "hare-ssh";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-msPY8m7/GDKsGDrhZ1IK65U+6fcI26FW9CONC4w87Pg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ hareHook ];
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://git.sr.ht/~sircmpwn/hare-ssh/";
|
|
description = "SSH client & server protocol implementation for Hare";
|
|
license = lib.licenses.mpl20;
|
|
maintainers = with lib.maintainers; [ patwid ];
|
|
|
|
inherit (hareHook.meta) platforms badPlatforms;
|
|
};
|
|
})
|