16 stdenv.mkDerivation rec {
21 url = "https://www.libssh.org/files/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
22 sha256 = "sha256-DcFYxTTNg4rQt4WoLexYbeQNp+CWUjrmwIybe9KvC1c=";
26 # Fix headers to use libsodium instead of NaCl
27 sed -i 's,nacl/,sodium/,g' ./include/libssh/curve25519.h src/curve25519.c
30 # single output, otherwise cmake and .pc files point to the wrong directory
31 # outputs = [ "out" "dev" ];
33 buildInputs = [ zlib openssl libsodium ];
35 nativeBuildInputs = [ cmake pkg-config ];
38 inherit ffmpeg sshping wireshark;
42 description = "SSH client library";
43 homepage = "https://libssh.org";
44 license = licenses.lgpl2Plus;
45 maintainers = with maintainers; [ sander ];
46 platforms = platforms.all;