lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 50 lines 1.1 kB view raw
1{ lib, python3, fetchPypi, khard, testers }: 2 3python3.pkgs.buildPythonApplication rec { 4 version = "0.18.0"; 5 pname = "khard"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "05860fdayqap128l7i6bcmi9kdyi2gx02g2pmh88d56xgysd927y"; 10 }; 11 12 SETUPTOOLS_SCM_PRETEND_VERSION = version; 13 nativeBuildInputs = with python3.pkgs; [ 14 setuptools-scm 15 sphinxHook 16 sphinx-autoapi 17 sphinx-autodoc-typehints 18 ]; 19 20 sphinxBuilders = [ "man" ]; 21 22 propagatedBuildInputs = with python3.pkgs; [ 23 atomicwrites 24 configobj 25 ruamel-yaml 26 unidecode 27 vobject 28 ]; 29 30 postInstall = '' 31 install -D misc/zsh/_khard $out/share/zsh/site-functions/_khard 32 ''; 33 34 preCheck = '' 35 # see https://github.com/scheibler/khard/issues/263 36 export COLUMNS=80 37 ''; 38 39 pythonImportsCheck = [ "khard" ]; 40 41 passthru.tests.version = testers.testVersion { package = khard; }; 42 43 meta = { 44 homepage = "https://github.com/scheibler/khard"; 45 description = "Console carddav client"; 46 license = lib.licenses.gpl3; 47 maintainers = with lib.maintainers; [ matthiasbeyer ]; 48 mainProgram = "khard"; 49 }; 50}