ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / se / seafile-server / libevhtp.nix
blob8eb1b3e22ff5292319d9d5f5e3330b9ca5502ebc
2   stdenv,
3   lib,
4   fetchFromGitHub,
5   cmake,
6   libevent,
7 }:
9 stdenv.mkDerivation rec {
10   pname = "libevhtp";
11   version = "unstable-2021-04-28";
13   src = fetchFromGitHub {
14     owner = "haiwen";
15     repo = "libevhtp";
16     rev = "18c649203f009ef1d77d6f8301eba09af3777adf";
17     sha256 = "1rf0jcy2lf8jbzpkhfgv289hc8zdy5zs6sn36k4vlqvilginxiid";
18   };
20   nativeBuildInputs = [ cmake ];
22   buildInputs = [ libevent ];
24   cmakeFlags = [
25     "-DEVHTP_DISABLE_SSL=ON"
26     "-DEVHTP_BUILD_SHARED=ON"
27   ];
29   meta = with lib; {
30     description = "Create extremely-fast and secure embedded HTTP servers with ease";
31     homepage = "https://github.com/criticalstack/libevhtp";
32     license = licenses.bsd3;
33     maintainers = with maintainers; [
34       greizgh
35       schmittlauch
36       melvyn2
37     ];
38   };