nixpkgs/pkgs/development/ocaml-modules/emile/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
820 B
Nix
Raw Normal View History

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