2022-02-20 05:27:41 +00:00
|
|
|
{ cmake, fetchFromGitHub, lib, ninja, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "quick-lint-js";
|
2022-03-05 16:20:37 +00:00
|
|
|
version = "2.3.0";
|
2022-02-20 05:27:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "quick-lint";
|
|
|
|
repo = "quick-lint-js";
|
|
|
|
rev = version;
|
2022-03-05 16:20:37 +00:00
|
|
|
sha256 = "1ay59pmprcswip6zzbqfy5g2rdv4lgmps8vrxay4l9w6xn9lg03v";
|
2022-02-20 05:27:41 +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;
|
|
|
|
};
|
|
|
|
}
|