2023-10-09 19:29:22 +00:00
|
|
|
{ lib, fetchFromGitHub, ocamlPackages }:
|
|
|
|
|
|
|
|
with ocamlPackages;
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "opam-publish";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "2.3.0";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocaml-opam";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-CiZOljFBUUC3ExGSzzTATGqmxKjbzjRlL4aaL/fx9zI=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
duneVersion = "3";
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cmdliner
|
|
|
|
lwt_ssl
|
|
|
|
opam-core
|
|
|
|
opam-format
|
|
|
|
opam-state
|
|
|
|
github
|
|
|
|
github-unix
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/ocaml-opam/${pname}";
|
|
|
|
description = "A tool to ease contributions to opam repositories";
|
|
|
|
license = with licenses; [ lgpl21Only ocamlLgplLinkingException ];
|
|
|
|
maintainers = with maintainers; [ niols ];
|
|
|
|
};
|
|
|
|
}
|