nixpkgs/pkgs/development/ocaml-modules/emile/default.nix
Vincent Laporte 930b1c06b1
ocamlPackages.base64: 3.5.0 → 3.5.1 (#218580)
* ocamlPackages.otr: use Dune 3

* ocamlPackages.h2: use Dune 3

* ocamlPackages.index: use Dune 3

* ocamlPackages.progress: use Dune 3

* ocamlPackages.repr: use Dune 3

* ocamlPackages.emile: use Dune 3

* ocamlPackages.bistro: use Dune 3

* ocamlPackages.base64: 3.5.0 → 3.5.1
2023-02-27 09:14:03 -03:00

46 lines
816 B
Nix

{ lib
, buildDunePackage
, fetchurl
, ocaml
, angstrom
, ipaddr
, base64
, pecu
, uutf
, alcotest
, cmdliner
}:
buildDunePackage rec {
pname = "emile";
version = "1.1";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/dinosaure/emile/releases/download/v${version}/emile-v${version}.tbz";
hash = "sha256:0r1141makr0b900aby1gn0fccjv1qcqgyxib3bzq8fxmjqwjan8p";
};
buildInputs = [ cmdliner ];
propagatedBuildInputs = [
angstrom
ipaddr
base64
pecu
uutf
];
doCheck = true;
checkInputs = [ alcotest ];
meta = with lib; {
description = "Parser of email address according RFC822";
license = licenses.mit;
homepage = "https://github.com/dinosaure/emile";
maintainers = [ maintainers.sternenseemann ];
};
}