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

46 lines
831 B
Nix
Raw Normal View History

2017-09-21 12:50:32 +01:00
{ stdenv, pkgs, python3Packages }:
2015-01-30 15:57:29 +00:00
with python3Packages;
buildPythonApplication rec {
2017-09-21 12:50:32 +01:00
name = "${pname}-${version}";
pname = "khal";
version = "0.9.9";
2015-01-30 15:57:29 +00:00
2017-09-21 12:50:32 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "0dq9aqb9pqjfqrnfg43mhpb7m0szmychxy1ydb3lwzf3500c9rsh";
2015-01-30 15:57:29 +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 18:00:03 +01:00
pkginfo
freezegun
2015-01-30 15:57:29 +00:00
];
buildInputs = [ setuptools_scm pytest pkgs.glibcLocales ];
checkPhase = ''
# py.test
'';
2015-01-30 15:57:29 +00:00
meta = with stdenv.lib; {
2015-01-30 15:57:29 +00:00
homepage = http://lostpackets.de/khal/;
description = "CLI calendar application";
license = licenses.mit;
maintainers = with maintainers; [ jgeerds ];
2015-01-30 15:57:29 +00:00
};
}