mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
treefmt: init at 0.1.1 (#120521)
* treefmt: init at 0.1.1 * Update pkgs/top-level/all-packages.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> * Update pkgs/development/tools/treefmt/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
d4f48c8547
commit
b8ef16dc1e
21
pkgs/development/tools/treefmt/default.nix
Normal file
21
pkgs/development/tools/treefmt/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "treefmt";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "numtide";
|
||||
repo = "treefmt";
|
||||
rev = "v${version}";
|
||||
sha256 = "0a4yikkqppawii1q0kzsxwfp1aid688wa0lixjwfsl279lr69css";
|
||||
};
|
||||
|
||||
cargoSha256 = "08k60gd23yanfraxpbw9hi7jbqgsxz9mv1ci6q9piis5742zlj9s";
|
||||
|
||||
meta = {
|
||||
description = "one CLI to format the code tree";
|
||||
homepage = "https://github.com/numtide/treefmt";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ zimbatm ];
|
||||
};
|
||||
}
|
@ -31143,6 +31143,8 @@ in
|
||||
|
||||
fac-build = callPackage ../development/tools/build-managers/fac {};
|
||||
|
||||
treefmt = callPackage ../development/tools/treefmt { };
|
||||
|
||||
bottom = callPackage ../tools/system/bottom {};
|
||||
|
||||
cagebreak = callPackage ../applications/window-managers/cagebreak/default.nix {
|
||||
|
Loading…
Reference in New Issue
Block a user