crowdin-cli: Add passthru.tests.version

This commit is contained in:
Damien Cassou 2021-11-01 10:42:18 +01:00
parent faebe1d4ed
commit d2d72356b9
No known key found for this signature in database
GPG key ID: B68746238E59B548

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;