9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
29 lines
721 B
Nix
29 lines
721 B
Nix
{ lib, stdenv, fetchFromGitHub
|
|
, pkg-config, cmake, ninja
|
|
, openssl, libuv, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "h2o";
|
|
version = "2.3.0-beta2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "h2o";
|
|
repo = "h2o";
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "0lwg5sfsr7fw7cfy0hrhadgixm35b5cgcvlhwhbk89j72y1bqi6n";
|
|
};
|
|
|
|
outputs = [ "out" "man" "dev" "lib" ];
|
|
|
|
nativeBuildInputs = [ pkg-config cmake ninja ];
|
|
buildInputs = [ openssl libuv zlib ];
|
|
|
|
meta = with lib; {
|
|
description = "Optimized HTTP/1 and HTTP/2 server";
|
|
homepage = "https://h2o.examp1e.net";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|