1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 00:25:24 +00:00
nixpkgs/pkgs/development/ocaml-modules/odate/default.nix
2020-12-06 09:56:40 +01:00

30 lines
533 B
Nix

{ lib, buildDunePackage, fetchFromGitHub
, menhir
}:
buildDunePackage rec {
pname = "odate";
version = "0.6";
useDune2 = true;
minimumOCamlVersion = "4.07";
src = fetchFromGitHub {
owner = "hhugo";
repo = pname;
rev = version;
sha256 = "1dk33lr0g2jnia2gqsm6nnc7nf256qgkm3v30w477gm6y2ppfm3h";
};
buildInputs = [ menhir ];
meta = {
description = "Date and duration in OCaml";
inherit (src.meta) homepage;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}