depot/third_party/nixpkgs/pkgs/development/tools/quick-lint-js/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

29 lines
711 B
Nix

{ cmake, fetchFromGitHub, lib, ninja, stdenv, testers, quick-lint-js }:
stdenv.mkDerivation rec {
pname = "quick-lint-js";
version = "2.6.0";
src = fetchFromGitHub {
owner = "quick-lint";
repo = "quick-lint-js";
rev = version;
sha256 = "sha256-ZZxLiZ7ptaUAUXa2HA5ICEP5Ym6221Ehfd6ufj78kXM=";
};
nativeBuildInputs = [ cmake ninja ];
doCheck = true;
passthru.tests = {
version = testers.testVersion { package = quick-lint-js; };
};
meta = with lib; {
description = "Find bugs in Javascript programs";
homepage = "https://quick-lint-js.com";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ratsclub ];
platforms = platforms.all;
};
}