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

25 lines
641 B
Nix
Raw Normal View History

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