2021-04-25 11:11:42 +01:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "treefmt";
|
2021-05-07 21:43:06 +01:00
|
|
|
version = "0.2.0";
|
2021-04-25 11:11:42 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numtide";
|
|
|
|
repo = "treefmt";
|
|
|
|
rev = "v${version}";
|
2021-05-07 21:43:06 +01:00
|
|
|
sha256 = "10mv18hsyz5kd001i6cgk0xag4yk7rhxvs09acp2s68qni1v8vx2";
|
2021-04-25 11:11:42 +01:00
|
|
|
};
|
|
|
|
|
2021-05-07 21:43:06 +01:00
|
|
|
cargoSha256 = "02455sk8n900j8qr79mrchk7m0gb4chhw0saa280p86vn56flvs0";
|
2021-04-25 11:11:42 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "one CLI to format the code tree";
|
|
|
|
homepage = "https://github.com/numtide/treefmt";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ zimbatm ];
|
|
|
|
};
|
|
|
|
}
|