nixpkgs/pkgs/development/beam-modules/erlfmt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
547 B
Nix
Raw Normal View History

2021-07-04 17:52:19 +02:00
{ fetchFromGitHub, rebar3Relx, lib }:
rebar3Relx rec {
2021-07-08 13:13:42 +02:00
pname = "erlfmt";
2022-07-30 06:48:49 +02:00
version = "1.1.0";
2021-07-04 17:52:19 +02:00
releaseType = "escript";
src = fetchFromGitHub {
owner = "WhatsApp";
repo = "erlfmt";
2022-07-30 06:48:49 +02:00
sha256 = "sha256-diZCyw4eR+h/Pc73HDfnFaXnNXwqu3XabTbeiWVPNPI=";
2021-07-04 17:52:19 +02:00
rev = "v${version}";
};
meta = with lib; {
homepage = "https://github.com/WhatsApp/erlfmt";
description = "An automated code formatter for Erlang";
platforms = platforms.unix;
license = licenses.asl20;
maintainers = with lib.maintainers; [ dlesl ];
};
}