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

26 lines
563 B
Nix
Raw Normal View History

2020-09-02 18:36:44 -07:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "svlint";
2021-02-06 12:34:51 -08:00
version = "0.4.16";
2020-09-02 18:36:44 -07:00
src = fetchFromGitHub {
owner = "dalance";
repo = "svlint";
rev = "v${version}";
2021-02-06 12:34:51 -08:00
sha256 = "sha256-2PYHKJ141RWdUIDAKAFK6IzR4C41bHi/A8lDErSRLnU=";
2020-09-02 18:36:44 -07:00
};
2021-02-06 12:34:51 -08:00
cargoSha256 = "sha256-x5wU0Ld4ssRoNqo9graJhjlpel+VdVdkKZMjHFqZsrE=";
2020-09-02 18:36:44 -07:00
meta = with lib; {
description = "SystemVerilog linter";
homepage = "https://github.com/dalance/svlint";
license = licenses.mit;
maintainers = with maintainers; [ trepetti ];
};
}