Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 28 lines 617 B view raw
1{ lib, stdenv, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 pname = "tinyssh"; 5 version = "20220801"; 6 7 src = fetchFromGitHub { 8 owner = "janmojzis"; 9 repo = "tinyssh"; 10 rev = version; 11 sha256 = "sha256-y01Uq7SyIsFX3KL3V+fF6x3ukrUTuijxwwhPBE3ehI0="; 12 }; 13 14 preConfigure = '' 15 echo /bin > conf-bin 16 echo /share/man > conf-man 17 ''; 18 19 DESTDIR = placeholder "out"; 20 21 meta = with lib; { 22 description = "minimalistic SSH server"; 23 homepage = "https://tinyssh.org"; 24 license = licenses.publicDomain; 25 platforms = platforms.unix; 26 maintainers = [ maintainers.kaction ]; 27 }; 28}