summary refs log tree commit diff
path: root/pkgs/development/libraries/libssh/default.nix
blob: 88af054654b93aef1aa7a03b063d44a8265501a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, pkgconfig, cmake, zlib, libgcrypt, openssl }:

stdenv.mkDerivation rec {
  name = "libssh-0.6.4";

  src = fetchurl {
    url = "https://red.libssh.org/attachments/download/107/${name}.tar.gz";
    sha256 = "0lkb45sc7w0wd67p46yh8rsprglssnkqar1sp0impwsvx7i0acky";
  };

  # option we don't provide (yet): use libgcrypt instead of openssl
  buildInputs = [ zlib /*libgcrypt*/ openssl ];

  nativeBuildInputs = [ cmake pkgconfig ];

  meta = with stdenv.lib; {
    description = "SSH client library";
    license = licenses.lgpl2Plus;
    maintainers = with stdenv.lib.maintainers; [ sander urkud ];
    platforms = platforms.all;
  };
}