a19cd4ffb1
This reverts commit65a333600d. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 /758551e458
43 lines
718 B
Nix
43 lines
718 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 ];
|
|
};
|
|
|
|
}
|