{ lib , buildDunePackage , alcotest }: buildDunePackage { pname = "camlmath"; version = with lib; pipe ./dune-project [ readFile (match ".*\\(version ([^\n]+)\\).*") head ]; src = with lib.fileset; toSource { root = ./.; fileset = unions [ ./lib ./test ./dune-project ./camlmath.opam ]; }; env.DUNE_CACHE = "disabled"; doCheck = true; checkInputs = [ alcotest ]; }