3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/khal/default.nix
2016-05-28 11:20:08 +02:00

45 lines
860 B
Nix

{ stdenv, fetchurl, pkgs, python3Packages }:
with python3Packages;
buildPythonApplication rec {
version = "0.8.2";
name = "khal-${version}";
src = fetchurl {
url = "mirror://pypi/k/khal/khal-${version}.tar.gz";
sha256 = "0ihclh3jsxhvq7azgdxbdzwbl7my30cdcg3g5ss5bpm4ivskrzzj";
};
LC_ALL = "en_US.UTF-8";
propagatedBuildInputs = [
atomicwrites
click
configobj
dateutil
icalendar
lxml
pkgs.vdirsyncer
pytz
pyxdg
requests_toolbelt
tzlocal
urwid
pkginfo
freezegun
];
buildInputs = [ setuptools_scm pytest pkgs.glibcLocales ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
homepage = http://lostpackets.de/khal/;
description = "CLI calendar application";
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer jgeerds ];
};
}