depot/third_party/nixpkgs/pkgs/tools/networking/tinyssh/default.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

28 lines
617 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "tinyssh";
version = "20220222";
src = fetchFromGitHub {
owner = "janmojzis";
repo = "tinyssh";
rev = version;
sha256 = "sha256-wSi8D82TOXZdUcfrvZJNd6oePvKWQepRW1r7A2fWApA=";
};
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 ];
};
}