Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 45 lines 816 B view raw
1{ lib 2, buildDunePackage 3, fetchurl 4, ocaml 5, angstrom 6, ipaddr 7, base64 8, pecu 9, uutf 10, alcotest 11, cmdliner 12}: 13 14buildDunePackage rec { 15 pname = "emile"; 16 version = "1.1"; 17 18 minimalOCamlVersion = "4.08"; 19 duneVersion = "3"; 20 21 src = fetchurl { 22 url = "https://github.com/dinosaure/emile/releases/download/v${version}/emile-v${version}.tbz"; 23 hash = "sha256:0r1141makr0b900aby1gn0fccjv1qcqgyxib3bzq8fxmjqwjan8p"; 24 }; 25 26 buildInputs = [ cmdliner ]; 27 28 propagatedBuildInputs = [ 29 angstrom 30 ipaddr 31 base64 32 pecu 33 uutf 34 ]; 35 36 doCheck = true; 37 checkInputs = [ alcotest ]; 38 39 meta = with lib; { 40 description = "Parser of email address according RFC822"; 41 license = licenses.mit; 42 homepage = "https://github.com/dinosaure/emile"; 43 maintainers = [ maintainers.sternenseemann ]; 44 }; 45}