depot/pkgs/development/tools/ocaml/opam-publish/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +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.4.0";
src = fetchFromGitHub {
owner = "ocaml-opam";
repo = pname;
rev = version;
hash = "sha256-7TIBLHpLVzI8Ex01wiQqVPllMZuiiUQsbuGtsNmrW3Q=";
};
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 ];
};
}