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