depot/third_party/nixpkgs/pkgs/tools/nix/nixpkgs-lint/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

26 lines
713 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "nixpkgs-lint";
version = "0.3.0";
src = fetchFromGitHub {
owner = "nix-community";
repo = "nixpkgs-lint";
rev = "v${version}";
hash = "sha256-o1VWM46lEJ9m49s/ekZWf8DkCeeWm4J3PQtt8tVXHbg=";
};
cargoHash = "sha256-LWtBO0Ai5cOtnfZElBrHZ7sDdp3ddfcCRdTA/EEDPfE=";
meta = with lib; {
description = "A fast semantic linter for Nix using tree-sitter";
homepage = "https://github.com/nix-community/nixpkgs-lint";
changelog = "https://github.com/nix-community/nixpkgs-lint/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ artturin figsoda ];
};
}