nixpkgs/pkgs/applications/misc/khard/default.nix

32 lines
710 B
Nix
Raw Normal View History

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 {
version = "0.15.1";
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;
sha256 = "18ba2xgfq8sw0bg6xmlfjpizid1hkzgswcfcc54gl21y2dwfda2w";
2015-01-30 17:02:05 +01:00
};
2019-11-09 16:46:08 +01:00
propagatedBuildInputs = with python3.pkgs; [
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
];
postInstall = ''
install -D misc/zsh/_khard $out/share/zsh/site-functions/_khard
'';
2015-01-30 17:02:05 +01:00
meta = {
homepage = https://github.com/scheibler/khard;
description = "Console carddav client";
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
2015-01-30 17:02:05 +01:00
};
}