depot/third_party/nixpkgs/pkgs/development/tools/ocaml/opam-publish/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

46 lines
885 B
Nix

{ lib, fetchFromGitHub, ocamlPackages }:
let
inherit (ocamlPackages)
buildDunePackage
cmdliner
github
github-unix
lwt_ssl
opam-core
opam-format
opam-state
;
in
buildDunePackage rec {
pname = "opam-publish";
version = "2.3.0";
src = fetchFromGitHub {
owner = "ocaml-opam";
repo = pname;
rev = version;
sha256 = "sha256-CiZOljFBUUC3ExGSzzTATGqmxKjbzjRlL4aaL/fx9zI=";
};
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";
mainProgram = "opam-publish";
license = with licenses; [ lgpl21Only ocamlLgplLinkingException ];
maintainers = with maintainers; [ niols ];
};
}