mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
quick-lint-js: 2.3.0 -> 2.3.1
add testVersion
This commit is contained in:
parent
f4edf20487
commit
3f73270a62
@ -1,19 +1,24 @@
|
||||
{ cmake, fetchFromGitHub, lib, ninja, stdenv }:
|
||||
{ cmake, fetchFromGitHub, lib, ninja, stdenv, testVersion, quick-lint-js }:
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "quick-lint-js";
|
||||
version = "2.3.0";
|
||||
version = "2.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "quick-lint";
|
||||
repo = "quick-lint-js";
|
||||
rev = version;
|
||||
sha256 = "1ay59pmprcswip6zzbqfy5g2rdv4lgmps8vrxay4l9w6xn9lg03v";
|
||||
sha256 = "sha256-3DiK7c+RuCIy9B2j6ozSaVIRf63o9S8uH27SZZJHjes=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ninja ];
|
||||
doCheck = true;
|
||||
|
||||
passthru.tests = {
|
||||
version = testVersion { package = quick-lint-js; };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Find bugs in Javascript programs";
|
||||
homepage = "https://quick-lint-js.com";
|
||||
|
Loading…
Reference in New Issue
Block a user