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";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.9.0";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2022-12-28 21:21:41 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-bd0epx3AciECCYi4OYG2WzTVhZ+JYnf5ebDZoMrPfmo=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
cargoHash = "sha256-RjjYfdcdJzIxnJFZqx93KADihN5YK+bCuk1QaPhVuGQ=";
|
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";
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|