depot/third_party/nixpkgs/pkgs/tools/networking/tinyssh/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

28 lines
617 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "tinyssh";
version = "20220101";
src = fetchFromGitHub {
owner = "janmojzis";
repo = "tinyssh";
rev = version;
sha256 = "sha256-3GW7WNUy7539dN2ckd/0PejzsiaCXcOIMR5FlZKBkMo=";
};
preConfigure = ''
echo /bin > conf-bin
echo /share/man > conf-man
'';
DESTDIR = placeholder "out";
meta = with lib; {
description = "minimalistic SSH server";
homepage = "https://tinyssh.org";
license = licenses.publicDomain;
platforms = platforms.unix;
maintainers = [ maintainers.kaction ];
};
}