Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 fetchFromSourcehut, 3 hareHook, 4 lib, 5 stdenv, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "hare-ssh"; 10 version = "0-unstable-2023-11-16"; 11 12 src = fetchFromSourcehut { 13 owner = "~sircmpwn"; 14 repo = "hare-ssh"; 15 rev = "c6a39e37ba4a42721594e0a907fe016f8e2198a8"; 16 hash = "sha256-I43TLPoImBsvkgV3hDy9dw0pXVt4ezINnxFtEV9P2/M="; 17 }; 18 19 nativeBuildInputs = [ hareHook ]; 20 21 makeFlags = [ "PREFIX=${builtins.placeholder "out"}" ]; 22 23 doCheck = true; 24 25 meta = with lib; { 26 homepage = "https://git.sr.ht/~sircmpwn/hare-ssh/"; 27 description = "SSH client & server protocol implementation for Hare"; 28 license = with licenses; [ mpl20 ]; 29 maintainers = with maintainers; [ patwid ]; 30 31 inherit (hareHook.meta) platforms badPlatforms; 32 }; 33})