Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ fetchFromGitHub, rebar3Relx, lib }:
2
3rebar3Relx rec {
4 pname = "erlfmt";
5 version = "1.2.0";
6 releaseType = "escript";
7 src = fetchFromGitHub {
8 owner = "WhatsApp";
9 repo = "erlfmt";
10 sha256 = "sha256-mma4QH6GlayTG5I9hW9wNZph/IJcCXjiY7Ft3hfxaPg=";
11 rev = "v${version}";
12 };
13 meta = with lib; {
14 homepage = "https://github.com/WhatsApp/erlfmt";
15 description = "An automated code formatter for Erlang";
16 platforms = platforms.unix;
17 license = licenses.asl20;
18 maintainers = with lib.maintainers; [ dlesl ];
19 };
20}