depot/third_party/nixpkgs/pkgs/development/tools/ocaml/opam-publish/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

44 lines
859 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.1";
src = fetchFromGitHub {
owner = "ocaml-opam";
repo = pname;
rev = version;
hash = "sha256-ll6G9L7zAw53R7FxvZDBL300b+YElzpBygbiIWB3FUU=";
};
buildInputs = [
cmdliner
lwt_ssl
opam-core
opam-format
opam-state
github
github-unix
];
meta = with lib; {
homepage = "https://github.com/ocaml-opam/${pname}";
description = "Tool to ease contributions to opam repositories";
mainProgram = "opam-publish";
license = with licenses; [ lgpl21Only ocamlLgplLinkingException ];
maintainers = with maintainers; [ niols ];
};
}