diff options
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/calendar/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/ocaml-modules/calendar/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/calendar/default.nix b/nixpkgs/pkgs/development/ocaml-modules/calendar/default.nix new file mode 100644 index 000000000000..fcd8058d64c4 --- /dev/null +++ b/nixpkgs/pkgs/development/ocaml-modules/calendar/default.nix @@ -0,0 +1,23 @@ +{ 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 ]; + + meta = { + inherit (src.meta) homepage; + description = "Library for handling dates and times"; + license = lib.licenses.lgpl21Plus; + maintainers = [ lib.maintainers.gal_bolle ]; + }; +} |