mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
29 lines
617 B
Nix
29 lines
617 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tinyssh";
|
|
version = "20220801";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "janmojzis";
|
|
repo = "tinyssh";
|
|
rev = version;
|
|
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 ];
|
|
};
|
|
}
|