mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
bcb0831a1c
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
33 lines
709 B
Nix
33 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 ];
|
|
};
|
|
}
|