mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
34 lines
691 B
Nix
34 lines
691 B
Nix
{ lib, buildDunePackage, fetchFromGitHub
|
|
, cohttp, dispatch, ptime
|
|
, ounit
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "webmachine";
|
|
version = "0.7.0";
|
|
duneVersion = "3";
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "inhabitedtype";
|
|
repo = "ocaml-webmachine";
|
|
rev = version;
|
|
sha256 = "03ynb1l2jjqba88m9r8m5hwlm8izpfp617r4vcab5kmdim1l2ffx";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cohttp dispatch ptime ];
|
|
|
|
checkInputs = [ ounit ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/inhabitedtype/ocaml-webmachine";
|
|
license = lib.licenses.bsd3;
|
|
description = "REST toolkit for OCaml";
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
|
|
}
|