nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit cc8aaf62c3c9317b0e2630d2526be295b9d98f34
parent 218e9cbfaaa9a80b9685dcd8891ef03a67080b1d
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Sat,  2 Oct 2021 17:59:49 +0300

Add tlstunnel

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/tlstunnel/default.nix | 31+++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -268,6 +268,7 @@ lib.makeScope newScope ( repolocli = callPackage ./misc/repolocli { }; sdorfehs = callPackage ./misc/sdorfehs { }; taskcoach = callPackage ./misc/taskcoach { }; + tlstunnel = callPackage ./misc/tlstunnel { }; xfractint = callPackage ./misc/xfractint { }; xtr = callPackage ./misc/xtr { inherit (darwin.apple_sdk.frameworks) Foundation; diff --git a/pkgs/misc/tlstunnel/default.nix b/pkgs/misc/tlstunnel/default.nix @@ -0,0 +1,31 @@ +{ lib, fetchFromGitHub, ocamlPackages }: + +ocamlPackages.buildDunePackage rec { + pname = "tlstunnel"; + version = "2021-08-06"; + + src = fetchFromGitHub { + owner = "roburio"; + repo = pname; + rev = "3aef371d7f91f09c8e6ab56d94c227a26c3060d9"; + hash = "sha256-7ik3uHinHojidFvlxeJdsVGwvZ8yfqDfoEcMokUVJEg="; + }; + + useDune2 = true; + + propagatedBuildInputs = with ocamlPackages; [ + asn1-combinators + cmdliner + ipaddr + logs + mirage-crypto + rresult + ]; + + meta = with lib; { + description = "A TLS reverse proxy unikernel"; + inherit (src.meta) homepage; + license = licenses.free; + maintainers = [ maintainers.sikmir ]; + }; +}