alejandra: init at unstable 2022-01-30
This commit is contained in:
parent
da9cb9757e
commit
6239d0a67c
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 ];
|
||||
};
|
||||
}
|
|
@ -33381,6 +33381,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 a new issue