2015-05-30 00:26:29 +01:00
|
|
|
{ stdenv, fetchurl, pythonPackages }:
|
2015-01-30 15:39:51 +00:00
|
|
|
|
|
|
|
pythonPackages.buildPythonPackage rec {
|
2016-02-18 15:48:59 +00:00
|
|
|
version = "0.9.0";
|
2015-01-30 15:39:51 +00:00
|
|
|
name = "vdirsyncer-${version}";
|
|
|
|
namePrefix = "";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2015-08-07 11:16:28 +01:00
|
|
|
url = "https://pypi.python.org/packages/source/v/vdirsyncer/${name}.tar.gz";
|
2016-02-18 15:48:59 +00:00
|
|
|
sha256 = "0s9awjr9v60rr80xcpwmdhkf4v1yqnydahjmxwvxmh64565is465";
|
2015-01-30 15:39:51 +00:00
|
|
|
};
|
|
|
|
|
2015-05-30 00:03:48 +01:00
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
2015-10-28 16:11:40 +00:00
|
|
|
click click-log click-threading
|
2015-01-30 15:39:51 +00:00
|
|
|
lxml
|
|
|
|
setuptools
|
2015-06-18 13:40:11 +01:00
|
|
|
setuptools_scm
|
2015-01-30 15:39:51 +00:00
|
|
|
requests_toolbelt
|
|
|
|
requests2
|
|
|
|
atomicwrites
|
|
|
|
];
|
|
|
|
|
2016-02-18 15:48:59 +00:00
|
|
|
# Unfortunately, checking this package seems a bit too complex
|
|
|
|
# https://github.com/NixOS/nixpkgs/pull/13098#issuecomment-185914025
|
|
|
|
# https://github.com/untitaker/vdirsyncer/issues/334#issuecomment-185872854
|
|
|
|
doCheck = false;
|
|
|
|
|
2015-05-30 00:26:29 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-01-30 15:39:51 +00:00
|
|
|
homepage = https://github.com/untitaker/vdirsyncer;
|
|
|
|
description = "Synchronize calendars and contacts";
|
2015-05-30 00:26:29 +01:00
|
|
|
maintainers = with maintainers; [ matthiasbeyer jgeerds ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.mit;
|
2015-01-30 15:39:51 +00:00
|
|
|
};
|
|
|
|
}
|