9 pname = "opam-repository";
11 inherit (opam-format) src version;
13 patches = [ ./download-tool.patch ];
15 substituteInPlace src/repository/opamRepositoryConfig.ml \
16 --replace-fail "SUBSTITUTE_NIXOS_CURL_PATH" "\"${curl}/bin/curl\""
19 propagatedBuildInputs = [ opam-format ];
21 configureFlags = [ "--disable-checks" ];
23 meta = opam-format.meta // {
24 description = "OPAM repository and remote sources handling, including curl/wget, rsync, git, mercurial, darcs backends";
25 maintainers = with lib.maintainers; [ sternenseemann ];