1 { lib, buildDunePackage, opam-format, curl }:
4 pname = "opam-repository";
6 inherit (opam-format) src version;
8 patches = [ ./download-tool.patch ];
10 substituteInPlace src/repository/opamRepositoryConfig.ml \
11 --replace-fail "SUBSTITUTE_NIXOS_CURL_PATH" "\"${curl}/bin/curl\""
14 propagatedBuildInputs = [ opam-format ];
16 configureFlags = [ "--disable-checks" ];
18 meta = opam-format.meta // {
19 description = "OPAM repository and remote sources handling, including curl/wget, rsync, git, mercurial, darcs backends";
20 maintainers = with lib.maintainers; [ sternenseemann ];