quick-lint-js: 2.3.0 -> 2.3.1
add testVersion
This commit is contained in:
parent
f4edf20487
commit
3f73270a62
1 changed files with 8 additions and 3 deletions
|
@ -1,19 +1,24 @@
|
||||||
{ cmake, fetchFromGitHub, lib, ninja, stdenv }:
|
{ cmake, fetchFromGitHub, lib, ninja, stdenv, testVersion, quick-lint-js }:
|
||||||
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "quick-lint-js";
|
pname = "quick-lint-js";
|
||||||
version = "2.3.0";
|
version = "2.3.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "quick-lint";
|
owner = "quick-lint";
|
||||||
repo = "quick-lint-js";
|
repo = "quick-lint-js";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1ay59pmprcswip6zzbqfy5g2rdv4lgmps8vrxay4l9w6xn9lg03v";
|
sha256 = "sha256-3DiK7c+RuCIy9B2j6ozSaVIRf63o9S8uH27SZZJHjes=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ninja ];
|
nativeBuildInputs = [ cmake ninja ];
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
version = testVersion { package = quick-lint-js; };
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Find bugs in Javascript programs";
|
description = "Find bugs in Javascript programs";
|
||||||
homepage = "https://quick-lint-js.com";
|
homepage = "https://quick-lint-js.com";
|
||||||
|
|
Loading…
Reference in a new issue