nixpkgs/pkgs/tools/misc/vdirsyncer/default.nix
Damien Cassou f965c8f207 vdirsyncer: 0.9.2 -> 0.9.3
Regarding homepage update, changelog says "Moved to pimutils
organization on GitHub. Old links should redirect, but be aware of
client software that doesn't properly handle redirects."
2016-03-24 18:50:35 +01:00

38 lines
1.1 KiB
Nix

{ stdenv, fetchurl, pythonPackages, glibcLocales }:
# Packaging documentation at:
# https://github.com/untitaker/vdirsyncer/blob/master/docs/packaging.rst
pythonPackages.buildPythonApplication rec {
version = "0.9.3";
name = "vdirsyncer-${version}";
namePrefix = "";
src = fetchurl {
url = "https://pypi.python.org/packages/source/v/vdirsyncer/${name}.tar.gz";
sha256 = "1wjhzjfcvwz68j6wc5cmjsw69ggwcpfy7jp7z7q6fnwwp4dr98lc";
};
propagatedBuildInputs = with pythonPackages; [
click click-log click-threading
lxml
requests_toolbelt
requests2
atomicwrites
];
buildInputs = with pythonPackages; [hypothesis pytest pytest-localserver pytest-subtesthack setuptools_scm ] ++ [ glibcLocales ];
LC_ALL = "en_US.utf8";
checkPhase = ''
make DETERMINISTIC_TESTS=true test
'';
meta = with stdenv.lib; {
homepage = https://github.com/pimutils/vdirsyncer;
description = "Synchronize calendars and contacts";
maintainers = with maintainers; [ matthiasbeyer jgeerds ];
platforms = platforms.all;
license = licenses.mit;
};
}