567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
46 lines
818 B
Nix
46 lines
818 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchurl,
|
|
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 = {
|
|
description = "Parser of email address according RFC822";
|
|
license = lib.licenses.mit;
|
|
homepage = "https://github.com/dinosaure/emile";
|
|
maintainers = [ lib.maintainers.sternenseemann ];
|
|
};
|
|
}
|