summary refs log tree commit diff
path: root/pkgs/development/tools/quick-lint-js/default.nix
blob: f0b66467c630d3086e816478684314bd0d70881f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ cmake, fetchFromGitHub, lib, ninja, stdenv }:

stdenv.mkDerivation rec {
  pname = "quick-lint-js";
  version = "2.1.0";

  src = fetchFromGitHub {
    owner = "quick-lint";
    repo = "quick-lint-js";
    rev = version;
    sha256 = "sha256-F21eli4HdLw3RComvocwBrcGfruIjO23E6+7a4+6vbs=";
  };

  nativeBuildInputs = [ cmake ninja ];
  doCheck = true;

  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;
  };
}