nur-packages

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

default.nix (747B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   ocamlPackages,
      5 }:
      6 
      7 ocamlPackages.buildDunePackage rec {
      8   pname = "tlstunnel";
      9   version = "0-unstable-2024-01-10";
     10 
     11   src = fetchFromGitHub {
     12     owner = "robur-coop";
     13     repo = "tlstunnel";
     14     rev = "c81e48739342e2f5c8ad5537b3543dfad721fc99";
     15     hash = "sha256-+Cj6eea5IuOZUhCD4zCYddG/AjV/i7jluEeLfhWh5Go=";
     16   };
     17 
     18   sourceRoot = "${src.name}/client";
     19 
     20   useDune2 = true;
     21 
     22   propagatedBuildInputs = with ocamlPackages; [
     23     asn1-combinators
     24     cmdliner
     25     fmt
     26     ipaddr
     27     logs
     28     mirage-crypto
     29   ];
     30 
     31   meta = {
     32     description = "A TLS reverse proxy unikernel";
     33     homepage = "https://github.com/robur-coop/tlstunnel";
     34     license = lib.licenses.free;
     35     maintainers = [ lib.maintainers.sikmir ];
     36   };
     37 }