nixpkgs/pkgs/by-name/sv/svlint/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
660 B
Nix
Raw Normal View History

2020-09-03 01:36:44 +00:00
{ lib
, rustPlatform
, 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
src = fetchCrate {
inherit pname version;
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
cargoBuildFlags = [ "--bin" "svlint" ];
2020-09-03 01:36:44 +00:00
meta = with lib; {
description = "SystemVerilog linter";
mainProgram = "svlint";
2020-09-03 01:36:44 +00:00
homepage = "https://github.com/dalance/svlint";
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 ];
};
}