Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / analysis / svlint / default.nix
blob7b5e3522ef3ba854b8a9bfd34e003a39a976c2a1
1 { lib
2 , rustPlatform
3 , fetchCrate
4 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "svlint";
8   version = "0.9.0";
10   src = fetchCrate {
11     inherit pname version;
12     sha256 = "sha256-bd0epx3AciECCYi4OYG2WzTVhZ+JYnf5ebDZoMrPfmo=";
13   };
15   cargoHash = "sha256-RjjYfdcdJzIxnJFZqx93KADihN5YK+bCuk1QaPhVuGQ=";
17   cargoBuildFlags = [ "--bin" "svlint" ];
19   meta = with lib; {
20     description = "SystemVerilog linter";
21     homepage = "https://github.com/dalance/svlint";
22     changelog = "https://github.com/dalance/svlint/blob/v${version}/CHANGELOG.md";
23     license = licenses.mit;
24     maintainers = with maintainers; [ trepetti ];
25   };