ocamlPackages.unstrctrd: init 0.3
This commit is contained in:
parent
153957a389
commit
050114362f
48
pkgs/development/ocaml-modules/unstrctrd/default.nix
Normal file
48
pkgs/development/ocaml-modules/unstrctrd/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -1361,6 +1361,8 @@ let
|
|||
|
||||
stdint = callPackage ../development/ocaml-modules/stdint { };
|
||||
|
||||
unstrctrd = callPackage ../development/ocaml-modules/unstrctrd { };
|
||||
|
||||
uucd = callPackage ../development/ocaml-modules/uucd { };
|
||||
uucp = callPackage ../development/ocaml-modules/uucp { };
|
||||
uunf = callPackage ../development/ocaml-modules/uunf { };
|
||||
|
|
Loading…
Reference in a new issue