blob: 8ffa7224ce8f1c8ede20fb0b66ec7dc7c7bcbba7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
rustPlatform,
fetchFromGitHub,
withJson ? true,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "statix";
version = "0.5.8-unstable-2026-07-17";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "molybdenumsoftware";
repo = "statix";
rev = "52530001bdbc8e94aae0d406a929c7ad7f09d9d1";
hash = "sha256-5GBxiBDnhGJUCWc4Fc6YgODcJkUepV8dP/tY+lSrC5I=";
};
cargoHash = "sha256-E3/G8kVHFexNebkDXtDR5rucGRfmpUw6/At1/DDgBdQ=";
buildFeatures = lib.optional withJson "json";
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = {
description = "Lints and suggestions for the nix programming language";
homepage = "https://github.com/molybdenumsoftware/statix";
license = lib.licenses.mit;
mainProgram = "statix";
maintainers = with lib.maintainers; [
mightyiam
nerdypepper
progrm_jarvis
];
};
})
|