Merge pull request #157380 from 0x4A6F/master-alejandra
This commit is contained in:
commit
eafa519fbe
25
pkgs/tools/nix/alejandra/default.nix
Normal file
25
pkgs/tools/nix/alejandra/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "alejandra";
|
||||
version = "unstable-2022-01-30";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kamadorueda";
|
||||
repo = "alejandra";
|
||||
rev = "b72274b052ae06cbe60a97d623829b1458369cc2";
|
||||
sha256 = "sha256-snq9C/a/53VivFcLNvdeKwVmPBXbcVzbbjTB+iULFUc=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-/JzATzRhNexmyjtgjHVkw8LVyr4PdIdPJfUGXz4pZbQ=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "The uncompromising Nix formatter";
|
||||
homepage = "https://github.com/kamadorueda/alejandra";
|
||||
license = licenses.unlicense;
|
||||
maintainers = with maintainers; [ _0x4A6F ];
|
||||
};
|
||||
}
|
@ -33422,6 +33422,8 @@ with pkgs;
|
||||
|
||||
nix-simple-deploy = callPackage ../tools/package-management/nix-simple-deploy { };
|
||||
|
||||
alejandra = callPackage ../tools/nix/alejandra { };
|
||||
|
||||
nixfmt = haskell.lib.compose.justStaticExecutables haskellPackages.nixfmt;
|
||||
|
||||
nixpkgs-fmt = callPackage ../tools/nix/nixpkgs-fmt { };
|
||||
|
Loading…
Reference in New Issue
Block a user