nixpkgs/pkgs/development/ocaml-modules/paf/default.nix
Et7f3 0766c65747
Update ocaml packages.git and paf le chien (#197422)
* ocamlPackages.paf: 0.1.0 -> 0.2.0

* ocamlPackages.git: 3.9.1 -> 3.10.0
2022-10-24 16:48:25 +02:00

70 lines
1.0 KiB
Nix

{ buildDunePackage
, lib
, fetchurl
, fetchpatch
, mirage-stack
, mirage-time
, h2
, tls-mirage
, mimic
, ke
, bigstringaf
, faraday
, tls
, lwt
, logs
, fmt
, mirage-crypto-rng
, tcpip
, mirage-time-unix
, ptime
, uri
, alcotest-lwt
, cstruct
}:
buildDunePackage rec {
pname = "paf";
version = "0.2.0";
src = fetchurl {
url = "https://github.com/dinosaure/paf-le-chien/releases/download/${version}/paf-${version}.tbz";
sha256 = "sha256-TzhRxFTPkLMAsLPl0ONC8DRhJRGstF58+QRKbGuJZVE=";
};
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
mirage-stack
mirage-time
h2
tls-mirage
mimic
ke
bigstringaf
faraday
tls
cstruct
tcpip
];
doCheck = true;
checkInputs = [
lwt
logs
fmt
mirage-crypto-rng
mirage-time-unix
ptime
uri
alcotest-lwt
];
meta = {
description = "HTTP/AF and MirageOS";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.sternenseemann ];
homepage = "https://github.com/dinosaure/paf-le-chien";
};
}