nixpkgs-suyu/pkgs/development/tools/analysis/svlint/default.nix

26 lines
563 B
Nix
Raw Normal View History

2020-09-03 03:36:44 +02:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "svlint";
2021-03-13 15:36:50 +01:00
version = "0.4.18";
2020-09-03 03:36:44 +02:00
src = fetchFromGitHub {
owner = "dalance";
repo = "svlint";
rev = "v${version}";
2021-03-13 15:36:50 +01:00
sha256 = "sha256-p002oWwTQxesWLgLq8oKKzuZKXUdO4C1TZ7lR/Mh1PA=";
2020-09-03 03:36:44 +02:00
};
2021-03-13 15:36:50 +01:00
cargoSha256 = "sha256-M0hng1JcR5Q829bVOaTASl0Eq6fFm8mUFsS5zx1JX94=";
2020-09-03 03:36:44 +02:00
meta = with lib; {
description = "SystemVerilog linter";
homepage = "https://github.com/dalance/svlint";
license = licenses.mit;
maintainers = with maintainers; [ trepetti ];
};
}