1{
2 lib,
3 stdenv,
4 fetchgit,
5 autoreconfHook,
6 libtool,
7 openssl,
8 pkg-config,
9}:
10
11stdenv.mkDerivation (finalAttrs: {
12 pname = "libretls";
13 version = "3.8.1";
14
15 src = fetchgit {
16 url = "https://git.causal.agency/libretls";
17 tag = finalAttrs.version;
18 hash = "sha256-cFu9v8vOkfvIj/OfD0Er3n+gbH1h1CHOHA6a0pJuwXY=";
19 };
20
21 nativeBuildInputs = [
22 pkg-config
23 autoreconfHook
24 libtool
25 ];
26
27 autoreconfFlags = [
28 "--force"
29 "--install"
30 ];
31
32 buildInputs = [ openssl ];
33
34 strictDeps = true;
35
36 meta = {
37 description = "Libtls for OpenSSL";
38 homepage = "https://git.causal.agency/libretls/about/";
39 changelog = "https://git.causal.agency/libretls/tag/?h=${finalAttrs.version}";
40 license = lib.licenses.isc;
41 maintainers = with lib.maintainers; [ mtrsk ];
42 };
43})