nixpkgs-suyu/pkgs/tools/networking/tinyssh/default.nix
Dmitry Bogatov 361cd4b7de
tinyssh: init at 20210601-unstable (#144029)
Co-authored-by: Dmitry Bogatov <git#v1@kaction.cc>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-11 17:39:39 +01:00

28 lines
617 B
Nix

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