nixpkgs/pkgs/tools/misc/vdirsyncer/default.nix

36 lines
1023 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pythonPackages }:
2015-01-30 15:39:51 +00:00
pythonPackages.buildPythonApplication 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 10:16:28 +00: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
};
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 12:40:11 +00: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;
meta = with stdenv.lib; {
2015-01-30 15:39:51 +00:00
homepage = https://github.com/untitaker/vdirsyncer;
description = "Synchronize calendars and contacts";
maintainers = with maintainers; [ matthiasbeyer jgeerds ];
platforms = platforms.all;
license = licenses.mit;
2015-01-30 15:39:51 +00:00
};
}