nixpkgs/pkgs/tools/networking/tinyssh/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
617 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "tinyssh";
2022-08-01 21:35:48 +00:00
version = "20220801";
src = fetchFromGitHub {
owner = "janmojzis";
repo = "tinyssh";
rev = version;
2022-08-01 21:35:48 +00:00
sha256 = "sha256-y01Uq7SyIsFX3KL3V+fF6x3ukrUTuijxwwhPBE3ehI0=";
};
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 ];
};
}