biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / treefmt / default.nix
blob48fc4b44962e88a92435cfc82e26af4427ba30ff
1 { lib, rustPlatform, fetchFromGitHub }:
2 rustPlatform.buildRustPackage rec {
3   pname = "treefmt";
4   version = "0.6.1";
6   src = fetchFromGitHub {
7     owner = "numtide";
8     repo = "treefmt";
9     rev = "v${version}";
10     hash = "sha256-icAe54Mv1xpOjUPSk8QDZaMk2ueNvjER6UyJ9uyUL6s=";
11   };
13   cargoSha256 = "sha256-bpNIGuh74nwEmHPeXtPmsML9vJOb00xkdjK0Nd7esAc=";
15   meta = {
16     description = "one CLI to format the code tree";
17     homepage = "https://github.com/numtide/treefmt";
18     license = lib.licenses.mit;
19     maintainers = [ lib.maintainers.zimbatm ];
20     mainProgram = "treefmt";
21   };