acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / op / opam-publish / package.nix
blob41a7528e52d49696538b87528ae9bdc7531c892a
1 { lib, fetchFromGitHub, ocamlPackages }:
3 let
4   inherit (ocamlPackages)
5     buildDunePackage
6     cmdliner
7     github
8     github-unix
9     lwt_ssl
10     opam-core
11     opam-format
12     opam-state
13     ;
16 buildDunePackage rec {
17   pname = "opam-publish";
18   version = "2.4.0";
20   src = fetchFromGitHub {
21     owner = "ocaml-opam";
22     repo = pname;
23     rev = version;
24     hash = "sha256-7TIBLHpLVzI8Ex01wiQqVPllMZuiiUQsbuGtsNmrW3Q=";
25   };
27   buildInputs = [
28     cmdliner
29     lwt_ssl
30     opam-core
31     opam-format
32     opam-state
33     github
34     github-unix
35   ];
37   meta = with lib; {
38     homepage = "https://github.com/ocaml-opam/${pname}";
39     description = "Tool to ease contributions to opam repositories";
40     mainProgram = "opam-publish";
41     license = with licenses; [ lgpl21Only ocamlLgplLinkingException ];
42     maintainers = with maintainers; [ niols ];
43   };