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-07-15 17:15:38 +00:00
|
|
|
version = "0.8.0";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2022-12-28 21:21:41 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-ykAuypWBbZ+53ImzNJGsztLHG8OQLIGBHC6Z3Amu+L0=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
cargoHash = "sha256-517AXkFqYaHC/FejtxolAQxJVpvcFhmf3Nptzcy9idY=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|