depot/pkgs/development/ocaml-modules/timed/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

27 lines
556 B
Nix

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