2020-09-25 04:45:31 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
2022-12-28 21:21:41 +00:00
|
|
|
, fetchCrate
|
2020-09-25 04:45:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "svlint";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "0.9.3";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2022-12-28 21:21:41 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-u61gmkO7eij7r1A1RPk0ro+pml7ZmMsg0ukJLCFNaD0=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
cargoHash = "sha256-HBfCTOETQ1hHzLFDw12W58omRmliiWDFGSrmr3PELD8=";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
cargoBuildFlags = [ "--bin" "svlint" ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "SystemVerilog linter";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "svlint";
|
2020-09-25 04:45:31 +00:00
|
|
|
homepage = "https://github.com/dalance/svlint";
|
2022-12-28 21:21:41 +00:00
|
|
|
changelog = "https://github.com/dalance/svlint/blob/v${version}/CHANGELOG.md";
|
2020-09-25 04:45:31 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ trepetti ];
|
|
|
|
};
|
|
|
|
}
|