3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/khard/default.nix

32 lines
712 B
Nix
Raw Normal View History

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