mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
930b1c06b1
* 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
46 lines
816 B
Nix
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 ];
|
|
};
|
|
}
|