2022-02-15 01:38:00 +00:00
|
|
|
{ cmake, fetchFromGitHub, lib, ninja, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "quick-lint-js";
|
2022-02-18 06:12:50 +00:00
|
|
|
version = "2.2.0";
|
2022-02-15 01:38:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "quick-lint";
|
|
|
|
repo = "quick-lint-js";
|
|
|
|
rev = version;
|
2022-02-18 06:12:50 +00:00
|
|
|
sha256 = "09jp118n487g467d4zhqcpnwwrvmjw02ssv1rbyw2s22cgz9701f";
|
2022-02-15 01:38:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|