linuxPackages_latest.broadcom_sta: add patch to compile on Kernel 6.12 (#359484)
[NixPkgs.git] / pkgs / by-name / ef / efmt / package.nix
blob61d7edeffb5b26627f8dc6b244697c2b7d4b3483
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "efmt";
9   version = "0.18.3";
11   src = fetchFromGitHub {
12     owner = "sile";
13     repo = "efmt";
14     rev = version;
15     hash = "sha256-3CL9NcwDsAs6fHUWA/ibkwqOW0Ur4glpHVZTrfLQUXs=";
16   };
18   cargoHash = "sha256-hEJb1SOQ3daY2otroCds8zitoodSjRyRTyR7GwF8dgk=";
20   meta = {
21     description = "Erlang code formatter";
22     homepage = "https://github.com/sile/efmt";
23     license = with lib.licenses; [
24       asl20
25       mit
26     ];
27     maintainers = with lib.maintainers; [ haruki7049 ];
28     mainProgram = "efmt";
29   };