2016-03-03 14:17:37 +00:00
|
|
|
{ stdenv, fetchurl, pkgs, python3Packages }:
|
2015-01-30 15:57:29 +00:00
|
|
|
|
2016-05-22 16:34:14 +00:00
|
|
|
with python3Packages;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
2017-04-25 09:39:11 +00:00
|
|
|
version = "0.9.5";
|
2015-01-30 15:57:29 +00:00
|
|
|
name = "khal-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-04-26 12:38:03 +00:00
|
|
|
url = "mirror://pypi/k/khal/khal-${version}.tar.gz";
|
2017-04-25 09:39:11 +00:00
|
|
|
sha256 = "0fvv0kjym9q8v20zbpr5m8ig65b8hva4p0c935qsdvgdni68jidr";
|
2015-01-30 15:57:29 +00:00
|
|
|
};
|
|
|
|
|
2016-05-22 16:34:14 +00:00
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2015-01-30 15:57:29 +00:00
|
|
|
atomicwrites
|
|
|
|
click
|
|
|
|
configobj
|
|
|
|
dateutil
|
|
|
|
icalendar
|
|
|
|
lxml
|
|
|
|
pkgs.vdirsyncer
|
|
|
|
pytz
|
|
|
|
pyxdg
|
|
|
|
requests_toolbelt
|
|
|
|
tzlocal
|
|
|
|
urwid
|
2015-07-21 17:00:03 +00:00
|
|
|
pkginfo
|
2016-05-22 16:34:14 +00:00
|
|
|
freezegun
|
2015-01-30 15:57:29 +00:00
|
|
|
];
|
2016-05-22 16:34:14 +00:00
|
|
|
buildInputs = [ setuptools_scm pytest pkgs.glibcLocales ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
2016-06-18 06:19:57 +00:00
|
|
|
# py.test
|
2016-05-22 16:34:14 +00:00
|
|
|
'';
|
2015-01-30 15:57:29 +00:00
|
|
|
|
2015-05-29 23:26:29 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-01-30 15:57:29 +00:00
|
|
|
homepage = http://lostpackets.de/khal/;
|
|
|
|
description = "CLI calendar application";
|
2015-05-29 23:26:29 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ matthiasbeyer jgeerds ];
|
2015-01-30 15:57:29 +00:00
|
|
|
};
|
|
|
|
}
|