depot/third_party/nixpkgs/pkgs/development/beam-modules/erlfmt/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

21 lines
572 B
Nix

{ fetchFromGitHub, rebar3Relx, lib }:
rebar3Relx rec {
pname = "erlfmt";
version = "1.5.0";
releaseType = "escript";
src = fetchFromGitHub {
owner = "WhatsApp";
repo = "erlfmt";
sha256 = "sha256-TtOHcXiXl13KSGarMBdvvDjv1YQJjDVFtDLC0LDz9Bc=";
rev = "v${version}";
};
meta = with lib; {
homepage = "https://github.com/WhatsApp/erlfmt";
description = "Automated code formatter for Erlang";
mainProgram = "erlfmt";
platforms = platforms.unix;
license = licenses.asl20;
maintainers = with lib.maintainers; [ dlesl ];
};
}