nixpkgs/pkgs/applications/misc/khal/default.nix
Frederik Rietdijk d5e6a4494a Python: use PyPI mirror (#15001)
* mirrors: add pypi

* Python: Use pypi mirror for all PyPI packages
2016-04-26 13:38:03 +01:00

35 lines
794 B
Nix

{ stdenv, fetchurl, pkgs, python3Packages }:
python3Packages.buildPythonApplication rec {
version = "0.7.0";
name = "khal-${version}";
src = fetchurl {
url = "mirror://pypi/k/khal/khal-${version}.tar.gz";
sha256 = "00llxj7cv31mjsx0j6zxmyi9s1q20yvfkn025xcy8cv1ylfwic66";
};
propagatedBuildInputs = with python3Packages; [
atomicwrites
click
configobj
dateutil
icalendar
lxml
pkgs.vdirsyncer
pytz
pyxdg
requests_toolbelt
tzlocal
urwid
pkginfo
];
buildInputs = with python3Packages; [ setuptools_scm ];
meta = with stdenv.lib; {
homepage = http://lostpackets.de/khal/;
description = "CLI calendar application";
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer jgeerds ];
};
}