khard: fix eval, add import check

This commit is contained in:
Sandro Jäckel 2021-11-05 21:04:52 +01:00
parent 933da575d4
commit 6a584e15fb
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -17,10 +17,9 @@ python3.pkgs.buildPythonApplication rec {
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
atomicwrites atomicwrites
configobj configobj
vobject
ruamel-yaml ruamel-yaml
ruamel_base
unidecode unidecode
vobject
]; ];
postInstall = '' postInstall = ''
@ -32,6 +31,8 @@ python3.pkgs.buildPythonApplication rec {
export COLUMNS=80 export COLUMNS=80
''; '';
pythonImportsCheck = [ "khard" ];
meta = { meta = {
homepage = "https://github.com/scheibler/khard"; homepage = "https://github.com/scheibler/khard";
description = "Console carddav client"; description = "Console carddav client";