statix: init at 0.3.1

This commit is contained in:
figsoda 2021-10-26 20:58:26 -04:00
parent 113fcf34ab
commit 072b073309
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, rustPlatform, fetchFromGitHub, withJson ? true }:
rustPlatform.buildRustPackage rec {
pname = "statix";
version = "0.3.1";
src = fetchFromGitHub {
owner = "nerdypepper";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Jh3ErzK8vqEdDtZP7O/PAmHQznUTB18nCQwfckFxyLA=";
};
cargoSha256 = "sha256-y+vBHAHTe++tYOWWQ5ioFlprRfDximZE8KSGNNBSPAk=";
cargoBuildFlags = lib.optionals withJson [ "--features" "json" ];
cargoCheckFlags = cargoBuildFlags;
meta = with lib; {
description = "Lints and suggestions for the nix programming language";
homepage = "https://github.com/nerdypepper/statix";
license = licenses.mit;
maintainers = with maintainers; [ figsoda nerdypepper ];
};
}

View file

@ -15167,6 +15167,8 @@ with pkgs;
sselp = callPackage ../tools/X11/sselp{ };
statix = callPackage ../tools/nix/statix { };
stm32cubemx = callPackage ../development/embedded/stm32/stm32cubemx { };
stm32flash = callPackage ../development/embedded/stm32/stm32flash { };