added passthru version test
This commit is contained in:
parent
73743d45e0
commit
e2f4aedc42
@ -32,6 +32,12 @@ rustPlatform.buildRustPackage rec {
|
|||||||
sqlite
|
sqlite
|
||||||
] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
||||||
|
|
||||||
|
passthru.tests = testers.testVersion {
|
||||||
|
package = leetcode-cli;
|
||||||
|
command = "leetcode -V";
|
||||||
|
version = "leetcode ${version}";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "May the code be with you 👻";
|
description = "May the code be with you 👻";
|
||||||
longDescription = "Use leetcode.com in command line";
|
longDescription = "Use leetcode.com in command line";
|
||||||
|
Loading…
Reference in New Issue
Block a user