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

29 lines
564 B
Nix
Raw Normal View History

2022-09-09 02:25:35 +02:00
{ lib
, fetchFromGitHub
, ocaml
, buildDunePackage
}:
buildDunePackage rec {
version = "1.1";
pname = "timed";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "rlepigre";
repo = "ocaml-${pname}";
rev = version;
sha256 = "sha256-wUoI9j/j0IGYW2NfJHmyR2XEYfYejyoYLWnKsuWdFas=";
};
doCheck = true;
meta = with lib; {
description = "Timed references for imperative state";
homepage = "https://github.com/rlepigre/ocaml-timed";
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
};
}