2021-04-25 11:11:42 +01:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "treefmt";
|
2021-08-15 11:25:19 +01:00
|
|
|
version = "0.2.5";
|
2021-04-25 11:11:42 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numtide";
|
|
|
|
repo = "treefmt";
|
|
|
|
rev = "v${version}";
|
2021-08-15 11:25:19 +01:00
|
|
|
sha256 = "0h9xl887620d0b4y17nhkayr0raj8b7m6zsgx8gw4v9vdjkjbbpa";
|
2021-04-25 11:11:42 +01:00
|
|
|
};
|
|
|
|
|
2021-08-15 11:25:19 +01:00
|
|
|
cargoSha256 = "04zmc2vaxsm4f1baissv3a6hnji3raixg891m3m8l13vin1a884q";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|