Merge pull request #127570 from figsoda/stylua
This commit is contained in:
commit
724adfb9ae
1 changed files with 3 additions and 3 deletions
|
@ -8,16 +8,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "stylua";
|
pname = "stylua";
|
||||||
version = "0.9.1";
|
version = "0.9.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "johnnymorganz";
|
owner = "johnnymorganz";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1p6k5al8vvafz2w4z27jnyw8w2cp316h70dlx40ir4c3lk511n2j";
|
sha256 = "0idx4664p9ggv8p2pwgpch42li9ksiilszpwva19y4fa5xrmcyr2";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "0ssfny11pv2b4zz7lh28cv603slp54pbcgj18y9k7b6jjajrz67q";
|
cargoSha256 = "1hc7zvrfiiijk4wr6i5jk6k32nz0lf64gqin3n8b8x5pp9d8fcfk";
|
||||||
|
|
||||||
cargoBuildFlags = lib.optionals lua52Support [ "--features" "lua52" ]
|
cargoBuildFlags = lib.optionals lua52Support [ "--features" "lua52" ]
|
||||||
++ lib.optionals luauSupport [ "--features" "luau" ];
|
++ lib.optionals luauSupport [ "--features" "luau" ];
|
||||||
|
|
Loading…
Reference in a new issue