biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / ocaml / opam-publish / default.nix
blob9dc78266f9f396a60c2f6e26cadf6b2a554fcb4e
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.3.0";
20   src = fetchFromGitHub {
21     owner = "ocaml-opam";
22     repo = pname;
23     rev = version;
24     sha256 = "sha256-CiZOljFBUUC3ExGSzzTATGqmxKjbzjRlL4aaL/fx9zI=";
25   };
27   duneVersion = "3";
29   buildInputs = [
30     cmdliner
31     lwt_ssl
32     opam-core
33     opam-format
34     opam-state
35     github
36     github-unix
37   ];
39   meta = with lib; {
40     homepage = "https://github.com/ocaml-opam/${pname}";
41     description = "A tool to ease contributions to opam repositories";
42     mainProgram = "opam-publish";
43     license = with licenses; [ lgpl21Only ocamlLgplLinkingException ];
44     maintainers = with maintainers; [ niols ];
45   };