mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
statix: init at 0.3.1
This commit is contained in:
parent
113fcf34ab
commit
072b073309
26
pkgs/tools/nix/statix/default.nix
Normal file
26
pkgs/tools/nix/statix/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user