nixpkgs/pkgs/development/tools/quick-lint-js/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
711 B
Nix
Raw Normal View History

{ cmake, fetchFromGitHub, lib, ninja, stdenv, testers, quick-lint-js }:
2022-02-15 01:38:00 +00:00
stdenv.mkDerivation rec {
pname = "quick-lint-js";
2022-06-16 01:42:06 +00:00
version = "2.6.0";
2022-02-15 01:38:00 +00:00
src = fetchFromGitHub {
owner = "quick-lint";
repo = "quick-lint-js";
rev = version;
2022-06-16 01:42:06 +00:00
sha256 = "sha256-ZZxLiZ7ptaUAUXa2HA5ICEP5Ym6221Ehfd6ufj78kXM=";
2022-02-15 01:38:00 +00:00
};
nativeBuildInputs = [ cmake ninja ];
doCheck = true;
passthru.tests = {
version = testers.testVersion { package = quick-lint-js; };
};
2022-02-15 01:38:00 +00:00
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;
};
}