2021-12-06 16:07:01 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tinyssh";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "20220311";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "janmojzis";
|
|
|
|
repo = "tinyssh";
|
|
|
|
rev = version;
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-+lmPPc2UsNtOfuheWEZHAzmKBilNQ3kNh8ixzDnRjRc=";
|
2021-12-06 16:07:01 +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 ];
|
|
|
|
};
|
|
|
|
}
|