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

alejandra: 0.1.0 -> 0.2.0

authored by 0x4A6F and committed by GitHub f1edce07 2aaf0c6a

+9 -3
+9 -3
pkgs/tools/nix/alejandra/default.nix
··· 1 { lib 2 , rustPlatform 3 , fetchFromGitHub 4 }: 5 6 rustPlatform.buildRustPackage rec { 7 pname = "alejandra"; 8 - version = "0.1.0"; 9 10 src = fetchFromGitHub { 11 owner = "kamadorueda"; 12 repo = "alejandra"; 13 rev = version; 14 - hash = "sha256-jj66PRqXASDNzdidkdfF2ezWM45Pw9Z+G4YNe8HRPhU="; 15 }; 16 17 - cargoSha256 = "sha256-701lWa/2u10vCSRplL1ebYz29DxjpHY0SqjSWme1X1U="; 18 19 meta = with lib; { 20 description = "The Uncompromising Nix Code Formatter"; 21 homepage = "https://github.com/kamadorueda/alejandra"; 22 license = licenses.unlicense; 23 maintainers = with maintainers; [ _0x4A6F kamadorueda ]; 24 }; 25 }
··· 1 { lib 2 , rustPlatform 3 , fetchFromGitHub 4 + , testVersion 5 + , alejandra 6 }: 7 8 rustPlatform.buildRustPackage rec { 9 pname = "alejandra"; 10 + version = "0.2.0"; 11 12 src = fetchFromGitHub { 13 owner = "kamadorueda"; 14 repo = "alejandra"; 15 rev = version; 16 + sha256 = "sha256-bM+z3s7oG0+8P7TVmyw7NW3eavN109zgsw9exUSQCaQ="; 17 }; 18 19 + cargoSha256 = "sha256-GxQxyUyrDKTf+7cye0Ob/le06GnAI+FMGCUB5dts+k0="; 20 21 meta = with lib; { 22 description = "The Uncompromising Nix Code Formatter"; 23 homepage = "https://github.com/kamadorueda/alejandra"; 24 license = licenses.unlicense; 25 maintainers = with maintainers; [ _0x4A6F kamadorueda ]; 26 + }; 27 + 28 + passthru.tests = { 29 + version = testVersion { package = alejandra; }; 30 }; 31 }