mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
21 lines
547 B
Nix
21 lines
547 B
Nix
{ fetchFromGitHub, rebar3Relx, lib }:
|
|
|
|
rebar3Relx rec {
|
|
pname = "erlfmt";
|
|
version = "1.1.0";
|
|
releaseType = "escript";
|
|
src = fetchFromGitHub {
|
|
owner = "WhatsApp";
|
|
repo = "erlfmt";
|
|
sha256 = "sha256-diZCyw4eR+h/Pc73HDfnFaXnNXwqu3XabTbeiWVPNPI=";
|
|
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 ];
|
|
};
|
|
}
|