diff options
author | 0x4A6F <0x4A6F@users.noreply.github.com> | 2022-01-30 11:14:07 +0100 |
---|---|---|
committer | 0x4A6F <0x4A6F@users.noreply.github.com> | 2022-01-30 19:21:56 +0100 |
commit | 6239d0a67cf13bc52d4f16bbe355715af6065e76 (patch) | |
tree | b9318c12eb82c131fe8d146aea09515adf31e33d /pkgs/tools/nix/alejandra/default.nix | |
parent | da9cb9757e6871fd706cef77df6b2279f917c237 (diff) |
alejandra: init at unstable 2022-01-30
Diffstat (limited to 'pkgs/tools/nix/alejandra/default.nix')
-rw-r--r-- | pkgs/tools/nix/alejandra/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/nix/alejandra/default.nix b/pkgs/tools/nix/alejandra/default.nix new file mode 100644 index 0000000000000..c24de3947f6df --- /dev/null +++ b/pkgs/tools/nix/alejandra/default.nix @@ -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 ]; + }; +} |