mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
63 lines
845 B
Nix
63 lines
845 B
Nix
{ buildDunePackage
|
|
, lib
|
|
, fetchurl
|
|
, astring
|
|
, base64
|
|
, cmdliner
|
|
, fmt
|
|
, httpaf
|
|
, httpaf-lwt-unix
|
|
, logs
|
|
, magic-mime
|
|
, mirage-crypto
|
|
, mtime
|
|
, multipart-form-data
|
|
, ptime
|
|
, re
|
|
, rock
|
|
, tyxml
|
|
, uri
|
|
, yojson
|
|
, alcotest-lwt
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "opium";
|
|
minimalOCamlVersion = "4.08";
|
|
duneVersion = "3";
|
|
|
|
inherit (rock) src version;
|
|
|
|
propagatedBuildInputs = [
|
|
astring
|
|
base64
|
|
cmdliner
|
|
fmt
|
|
httpaf
|
|
httpaf-lwt-unix
|
|
logs
|
|
magic-mime
|
|
mirage-crypto
|
|
mtime
|
|
multipart-form-data
|
|
ptime
|
|
re
|
|
rock
|
|
tyxml
|
|
uri
|
|
yojson
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [
|
|
alcotest-lwt
|
|
];
|
|
|
|
meta = {
|
|
description = "OCaml web framework";
|
|
homepage = "https://github.com/rgrinberg/opium";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.pmahoney ];
|
|
};
|
|
}
|