Merge pull request #144088 from DamienCassou/add-passthru-tests-to-crowdin-cli

crowdin-cli: Add passthru.tests.version
This commit is contained in:
Bobby Rong
2021-11-03 18:05:17 +08:00
committed by GitHub
+5
View File
@@ -7,6 +7,8 @@
, installShellFiles
, jre
, makeWrapper
, crowdin-cli
, testVersion
, unzip
}:
@@ -36,7 +38,10 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.tests.version = testVersion { package = crowdin-cli; };
meta = with lib; {
mainProgram = "crowdin";
homepage = "https://github.com/crowdin/crowdin-cli/";
description = "A command-line client for the Crowdin API";
license = licenses.mit;