nixpkgs/pkgs/development/ocaml-modules/timed/default.nix
2022-09-11 15:54:45 +02:00

28 lines
564 B
Nix

{ 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 ];
};
}