Files
nixpkgs/pkgs/development/ocaml-modules/timed/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

29 lines
559 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 = {
description = "Timed references for imperative state";
homepage = "https://github.com/rlepigre/ocaml-timed";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}