mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
31 lines
560 B
Nix
31 lines
560 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchFromGitHub,
|
|
menhir,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "odate";
|
|
version = "0.7";
|
|
|
|
minimalOCamlVersion = "4.07";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hhugo";
|
|
repo = "odate";
|
|
rev = finalAttrs.version;
|
|
sha256 = "sha256-C11HpftrYOCVyWT31wrqo8FVZuP7mRUkRv5IDeAZ+To=";
|
|
};
|
|
|
|
nativeBuildInputs = [ menhir ];
|
|
|
|
meta = {
|
|
description = "Date and duration in OCaml";
|
|
inherit (finalAttrs.src.meta) homepage;
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
|
|
})
|