2020-09-03 01:36:44 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
2022-12-25 19:36:47 +00:00
|
|
|
, fetchCrate
|
2020-09-03 01:36:44 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "svlint";
|
2024-06-03 16:40:03 +00:00
|
|
|
version = "0.9.3";
|
2020-09-03 01:36:44 +00:00
|
|
|
|
2022-12-25 19:36:47 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-07-12 18:42:22 +00:00
|
|
|
hash = "sha256-u61gmkO7eij7r1A1RPk0ro+pml7ZmMsg0ukJLCFNaD0=";
|
2020-09-03 01:36:44 +00:00
|
|
|
};
|
|
|
|
|
2024-06-03 16:40:03 +00:00
|
|
|
cargoHash = "sha256-HBfCTOETQ1hHzLFDw12W58omRmliiWDFGSrmr3PELD8=";
|
2022-11-07 18:02:20 +00:00
|
|
|
|
2022-12-25 19:36:47 +00:00
|
|
|
cargoBuildFlags = [ "--bin" "svlint" ];
|
2020-09-03 01:36:44 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "SystemVerilog linter";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "svlint";
|
2020-09-03 01:36:44 +00:00
|
|
|
homepage = "https://github.com/dalance/svlint";
|
2022-12-25 19:36:47 +00:00
|
|
|
changelog = "https://github.com/dalance/svlint/blob/v${version}/CHANGELOG.md";
|
2020-09-03 01:36:44 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ trepetti ];
|
|
|
|
};
|
|
|
|
}
|