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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
556 B
Nix
Raw Normal View History

2022-11-23 05:28:16 +00:00
{ lib, buildDunePackage, fetchFromGitHub, re }:
2014-05-15 12:11:46 +00:00
2022-11-23 05:28:16 +00:00
buildDunePackage rec {
pname = "calendar";
version = "3.0.0";
minimalOCamlVersion = "4.03";
2022-11-23 05:28:16 +00:00
src = fetchFromGitHub {
owner = "ocaml-community";
repo = pname;
rev = "v${version}";
sha256 = "sha256-+VQzi6pEMqzV1ZR84Yjdu4jsJEWtx+7bd6PQGX7TiEs=";
2021-11-09 19:53:19 +00:00
};
2014-05-15 12:11:46 +00:00
2022-11-23 05:28:16 +00:00
propagatedBuildInputs = [ re ];
2021-11-09 19:53:19 +00:00
meta = {
2022-11-23 05:28:16 +00:00
inherit (src.meta) homepage;
description = "A library for handling dates and times";
license = lib.licenses.lgpl21Plus;
maintainers = [ lib.maintainers.gal_bolle ];
2014-05-15 12:11:46 +00:00
};
}