depot/third_party/nixpkgs/pkgs/development/hare-third-party/hare-ssh/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
770 B
Nix

{
fetchFromSourcehut,
hareHook,
lib,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hare-ssh";
version = "0-unstable-2023-11-16";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "hare-ssh";
rev = "c6a39e37ba4a42721594e0a907fe016f8e2198a8";
hash = "sha256-I43TLPoImBsvkgV3hDy9dw0pXVt4ezINnxFtEV9P2/M=";
};
nativeBuildInputs = [ hareHook ];
makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ];
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 (hareHook.meta) platforms badPlatforms;
};
})