1 { lib, python3, fetchPypi, khard, testers }:
3 python3.pkgs.buildPythonApplication rec {
9 sha256 = "sha256-WfMKDaPD2j6wT02+GO5HY5E7aF2Z7IQY/VdKiMSRxJA=";
12 nativeBuildInputs = with python3.pkgs; [
16 sphinx-autodoc-typehints
19 sphinxBuilders = [ "man" ];
21 propagatedBuildInputs = with python3.pkgs; [
30 install -D misc/zsh/_khard $out/share/zsh/site-functions/_khard
34 # see https://github.com/scheibler/khard/issues/263
38 pythonImportsCheck = [ "khard" ];
40 passthru.tests.version = testers.testVersion { package = khard; };
43 homepage = "https://github.com/scheibler/khard";
44 description = "Console carddav client";
45 license = lib.licenses.gpl3;
46 maintainers = with lib.maintainers; [ matthiasbeyer ];
47 mainProgram = "khard";