mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
alejandra: 0.1.0 -> 0.2.0
This commit is contained in:
parent
9777760699
commit
82cf11aece
@ -1,20 +1,22 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, testVersion
|
||||
, alejandra
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "alejandra";
|
||||
version = "0.1.0";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kamadorueda";
|
||||
repo = "alejandra";
|
||||
rev = version;
|
||||
hash = "sha256-jj66PRqXASDNzdidkdfF2ezWM45Pw9Z+G4YNe8HRPhU=";
|
||||
sha256 = "sha256-bM+z3s7oG0+8P7TVmyw7NW3eavN109zgsw9exUSQCaQ=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-701lWa/2u10vCSRplL1ebYz29DxjpHY0SqjSWme1X1U=";
|
||||
cargoSha256 = "sha256-GxQxyUyrDKTf+7cye0Ob/le06GnAI+FMGCUB5dts+k0=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Uncompromising Nix Code Formatter";
|
||||
@ -22,4 +24,8 @@ rustPlatform.buildRustPackage rec {
|
||||
license = licenses.unlicense;
|
||||
maintainers = with maintainers; [ _0x4A6F kamadorueda ];
|
||||
};
|
||||
|
||||
passthru.tests = {
|
||||
version = testVersion { package = alejandra; };
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user