32 lines
735 B
Nix
32 lines
735 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "lintspec";
|
|
version = "0.6.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "beeb";
|
|
repo = "lintspec";
|
|
tag = "v${version}";
|
|
hash = "sha256-bJqHxmuje1B2aOqMf+n+quOhnSXTr5lsqhjmHbLnepk=";
|
|
};
|
|
|
|
cargoHash = "sha256-UbhZluZhRaeC/x+qpVYb/p5lWjZB3HhCRvw9fSrR+ss=";
|
|
|
|
meta = {
|
|
description = "Blazingly fast linter for NatSpec comments in Solidity code";
|
|
homepage = "https://github.com/beeb/lintspec";
|
|
changelog = "https://github.com/beeb/lintspec/releases/tag/v${version}";
|
|
license = with lib.licenses; [
|
|
mit
|
|
asl20
|
|
];
|
|
maintainers = with lib.maintainers; [ beeb ];
|
|
mainProgram = "lintspec";
|
|
};
|
|
}
|