nixpkgs/pkgs/development/ocaml-modules/index/default.nix

25 lines
641 B
Nix
Raw Normal View History

2020-06-29 18:48:17 +00:00
{ lib, fetchurl, buildDunePackage, fmt, logs, mtime, stdlib-shims }:
2019-12-09 10:28:48 +00:00
buildDunePackage rec {
pname = "index";
2020-06-29 18:48:17 +00:00
version = "1.2.1";
2019-12-09 10:28:48 +00:00
minimumOCamlVersion = "4.07";
src = fetchurl {
url = "https://github.com/mirage/index/releases/download/${version}/index-${version}.tbz";
2020-06-29 18:48:17 +00:00
sha256 = "1a9b6rsazrjy07syxl9ix5002i95mlvx5vk7nl2x9cs6s0zw906d";
2019-12-09 10:28:48 +00:00
};
buildInputs = [ stdlib-shims ];
2020-06-29 18:48:17 +00:00
propagatedBuildInputs = [ fmt logs mtime ];
2019-12-09 10:28:48 +00:00
meta = {
homepage = "https://github.com/mirage/index";
description = "A platform-agnostic multi-level index";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}