2016-07-31 11:14:13 +03:00
|
|
|
{ stdenv, fetchurl, glibcLocales, python3Packages }:
|
2015-01-30 19:02:05 +03:00
|
|
|
|
2016-07-31 11:14:13 +03:00
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
version = "0.11.1";
|
2015-01-30 19:02:05 +03:00
|
|
|
name = "khard-${version}";
|
|
|
|
namePrefix = "";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/scheibler/khard/archive/v${version}.tar.gz";
|
2016-07-31 11:14:13 +03:00
|
|
|
sha256 = "0055xx9icmsr6l7v0iqrndmygygdpdv10550w6pyrb96svzhry27";
|
2015-01-30 19:02:05 +03:00
|
|
|
};
|
|
|
|
|
2016-07-31 11:14:13 +03:00
|
|
|
# setup.py reads the UTF-8 encoded readme.
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2016-02-19 18:22:39 +03:00
|
|
|
atomicwrites
|
2015-01-30 19:02:05 +03:00
|
|
|
configobj
|
|
|
|
vobject
|
|
|
|
argparse
|
2016-02-19 18:22:39 +03:00
|
|
|
pyyaml
|
2015-01-30 19:02:05 +03:00
|
|
|
];
|
|
|
|
|
2016-07-31 11:14:13 +03:00
|
|
|
# Fails; but there are no tests anyway.
|
|
|
|
doCheck = false;
|
|
|
|
|
2015-01-30 19:02:05 +03:00
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/scheibler/khard;
|
|
|
|
description = "Console carddav client";
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
|
|
|
|
};
|
|
|
|
}
|