mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
26 lines
578 B
Nix
26 lines
578 B
Nix
{ lib, buildDunePackage, fetchFromGitHub, re }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "calendar";
|
|
version = "3.0.0";
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocaml-community";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-+VQzi6pEMqzV1ZR84Yjdu4jsJEWtx+7bd6PQGX7TiEs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ re ];
|
|
|
|
strictDeps = true;
|
|
|
|
meta = {
|
|
inherit (src.meta) homepage;
|
|
description = "A library for handling dates and times";
|
|
license = lib.licenses.lgpl21Plus;
|
|
maintainers = [ lib.maintainers.gal_bolle ];
|
|
};
|
|
}
|