depot/third_party/nixpkgs/pkgs/development/ocaml-modules/unstrctrd/default.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

48 lines
805 B
Nix

{ alcotest
, angstrom
, bigstringaf
, buildDunePackage
, crowbar
, fetchzip
, fmt
, hxd
, ke
, lib
, rresult
, uutf
}:
buildDunePackage rec {
pname = "unstrctrd";
version = "0.3";
src = fetchzip {
url = "https://github.com/dinosaure/unstrctrd/releases/download/v${version}/unstrctrd-v${version}.tbz";
sha256 = "0mjm4v7kk75iwwsfnpmxc3bsl8aisz53y7z21sykdp60f4rxnah7";
};
useDune2 = true;
propagatedBuildInputs = [
angstrom
uutf
];
checkInputs = [
alcotest
bigstringaf
crowbar
fmt
hxd
ke
rresult
];
doCheck = true;
meta = {
description = "A library for parsing email headers";
homepage = "https://github.com/dinosaure/unstrctrd";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ superherointj ];
};
}