1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/applications/misc/khal/default.nix
2017-04-26 09:53:53 +02:00

45 lines
862 B
Nix

{ stdenv, fetchurl, pkgs, python3Packages }:
with python3Packages;
buildPythonApplication rec {
version = "0.9.5";
name = "khal-${version}";
src = fetchurl {
url = "mirror://pypi/k/khal/khal-${version}.tar.gz";
sha256 = "0fvv0kjym9q8v20zbpr5m8ig65b8hva4p0c935qsdvgdni68jidr";
};
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 ];
};
}