2019-11-09 16:46:08 +01:00
|
|
|
{ stdenv, glibcLocales, python3 }:
|
2015-01-30 17:02:05 +01:00
|
|
|
|
2019-11-09 16:46:08 +01:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2020-05-05 15:15:18 +02:00
|
|
|
version = "0.16.1";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "khard";
|
2015-01-30 17:02:05 +01:00
|
|
|
|
2019-11-09 16:46:08 +01:00
|
|
|
src = python3.pkgs.fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-05 15:15:18 +02:00
|
|
|
sha256 = "0fg4qh5gzki5wg958wlpc8a2icnk74gzg33lqxjm755cfnjng7qd";
|
2015-01-30 17:02:05 +01:00
|
|
|
};
|
|
|
|
|
2019-11-09 16:46:08 +01:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2016-02-19 16:22:39 +01:00
|
|
|
atomicwrites
|
2015-01-30 17:02:05 +01:00
|
|
|
configobj
|
|
|
|
vobject
|
2018-02-21 14:08:51 +01:00
|
|
|
ruamel_yaml
|
|
|
|
ruamel_base
|
|
|
|
unidecode
|
2015-01-30 17:02:05 +01:00
|
|
|
];
|
|
|
|
|
2018-09-11 10:29:27 +02:00
|
|
|
postInstall = ''
|
2018-10-04 08:34:04 +02:00
|
|
|
install -D misc/zsh/_khard $out/share/zsh/site-functions/_khard
|
2018-09-11 10:29:27 +02:00
|
|
|
'';
|
|
|
|
|
2015-01-30 17:02:05 +01:00
|
|
|
meta = {
|
2020-04-06 00:44:43 +02:00
|
|
|
homepage = "https://github.com/scheibler/khard";
|
2015-01-30 17:02:05 +01:00
|
|
|
description = "Console carddav client";
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2019-02-20 19:52:48 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
|
2015-01-30 17:02:05 +01:00
|
|
|
};
|
|
|
|
}
|