5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
34 lines
714 B
Nix
34 lines
714 B
Nix
{ lib, fetchFromGitHub, ocamlPackages }:
|
|
|
|
with ocamlPackages;
|
|
|
|
buildDunePackage rec {
|
|
pname = "opam-publish";
|
|
version = "2.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocaml-opam";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-FNAWok5tjTOwwpNZ0Xcu9E/R8iXStZqCk/Vqdf9l+zs=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|