From 33881cc55864ebfa5c0bcb21d2ebf30338000de3 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Mon, 12 Dec 2022 20:00:55 +0100 Subject: [PATCH] khard: Add passthru.tests.version --- pkgs/applications/misc/khard/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/khard/default.nix b/pkgs/applications/misc/khard/default.nix index 6ed433198f5..d4e6e8a4720 100644 --- a/pkgs/applications/misc/khard/default.nix +++ b/pkgs/applications/misc/khard/default.nix @@ -1,4 +1,4 @@ -{ lib, python3 }: +{ lib, python3, khard, testers }: python3.pkgs.buildPythonApplication rec { version = "0.18.0"; @@ -33,6 +33,8 @@ python3.pkgs.buildPythonApplication rec { pythonImportsCheck = [ "khard" ]; + passthru.tests.version = testers.testVersion { package = khard; }; + meta = { homepage = "https://github.com/scheibler/khard"; description = "Console carddav client";