quick-lint-js: 2.3.0 -> 2.3.1

add testVersion
This commit is contained in:
R. Ryantm 2022-04-03 14:01:01 +00:00 committed by Artturin
parent f4edf20487
commit 3f73270a62

View file

@ -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";