Merge pull request #160799 from kamadorueda/update-alejandra-nixpkgs

alejandra: 0.2.0 -> 0.3.0
This commit is contained in:
Artturi 2022-02-19 03:36:42 +02:00 committed by GitHub
commit f22991d2f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,16 +7,20 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "alejandra"; pname = "alejandra";
version = "0.2.0"; version = "0.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kamadorueda"; owner = "kamadorueda";
repo = "alejandra"; repo = "alejandra";
rev = version; rev = version;
sha256 = "sha256-bM+z3s7oG0+8P7TVmyw7NW3eavN109zgsw9exUSQCaQ="; sha256 = "sha256-Gtz+z8ESIqY/2V6X/rLMweqio66IGaUVGmIT/Y20+JY=";
}; };
cargoSha256 = "sha256-GxQxyUyrDKTf+7cye0Ob/le06GnAI+FMGCUB5dts+k0="; cargoSha256 = "sha256-kydMIbx5Fu7+uwXn7KrrNd1fhXZQ5sabX4TBYpvmimk=";
passthru.tests = {
version = testVersion { package = alejandra; };
};
meta = with lib; { meta = with lib; {
description = "The Uncompromising Nix Code Formatter"; description = "The Uncompromising Nix Code Formatter";
@ -24,8 +28,4 @@ rustPlatform.buildRustPackage rec {
license = licenses.unlicense; license = licenses.unlicense;
maintainers = with maintainers; [ _0x4A6F kamadorueda ]; maintainers = with maintainers; [ _0x4A6F kamadorueda ];
}; };
passthru.tests = {
version = testVersion { package = alejandra; };
};
} }