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-01-02 11:29:13 +00:00
|
|
|
version = "0.9.2";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2022-12-28 21:21:41 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-5fPra4kgvykeQnvRtO3enbMIzbh5+nDJ2x0aHYMGiww=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
cargoHash = "sha256-R7jqFgMj4YjUbEObdRxxvataYMXe9wq8B8k+t7+Dv30=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|