depot/third_party/nixpkgs/pkgs/tools/networking/tinyssh/default.nix
Default email 6d4aeb4377 Project import generated by Copybara.
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
2023-01-11 08:51:40 +01:00

32 lines
709 B
Nix

{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "tinyssh";
version = "20230101";
src = fetchFromGitHub {
owner = "janmojzis";
repo = "tinyssh";
rev = "refs/tags/${version}";
hash = "sha256-yEqPrLp14AF0L1QLoIcBhTphmd6qVzOB9EVW0Miy8yM=";
};
preConfigure = ''
echo /bin > conf-bin
echo /share/man > conf-man
'';
DESTDIR = placeholder "out";
meta = with lib; {
description = "Minimalistic SSH server";
homepage = "https://tinyssh.org";
changelog = "https://github.com/janmojzis/tinyssh/releases/tag/${version}";
license = licenses.cc0;
platforms = platforms.unix;
maintainers = with maintainers; [ kaction ];
};
}