2021-11-11 16:39:39 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tinyssh";
|
2022-03-06 19:01:55 +00:00
|
|
|
version = "20220305";
|
2021-11-11 16:39:39 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "janmojzis";
|
|
|
|
repo = "tinyssh";
|
|
|
|
rev = version;
|
2022-03-06 19:01:55 +00:00
|
|
|
sha256 = "sha256-d49saN0I22DZixx5AdvQmx3WM7yzQH5lOKnKbzhlls0=";
|
2021-11-11 16:39:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|