mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
Merge pull request #253612 from schnusch/xandikos
xandikos: 0.2.8 -> 0.2.10
This commit is contained in:
commit
7523146832
@ -17,15 +17,15 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.21.5";
|
||||
version = "0.21.6";
|
||||
pname = "dulwich";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-cJVeTiSd3abjSkY2uQ906THlWPmTsXxSVw+mFEuZMQM=";
|
||||
hash = "sha256-MPvofotR84E8Ex4oQchtAHQ00WC9FttYa0DUfzHdBbA=";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
@ -6,34 +6,37 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "xandikos";
|
||||
version = "0.2.8";
|
||||
version = "0.2.10";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = python3Packages.pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jelmer";
|
||||
repo = "xandikos";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-KDDk0QSOjwivJFz3vLk+g4vZMlSuX2FiOgHJfDJkpwg=";
|
||||
hash = "sha256-SqU/K3b8OML3PvFmP7L5R3Ub9vbW66xRpf79mgFZPfc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3Packages; [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
aiohttp
|
||||
aiohttp-openmetrics
|
||||
dulwich
|
||||
defusedxml
|
||||
icalendar
|
||||
jinja2
|
||||
multidict
|
||||
prometheus-client
|
||||
vobject
|
||||
];
|
||||
|
||||
passthru.tests.xandikos = nixosTests.xandikos;
|
||||
|
||||
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
|
||||
disabledTests = [
|
||||
# these tests are failing due to the following error:
|
||||
# TypeError: expected str, bytes or os.PathLike object, not int
|
||||
"test_iter_with_etag"
|
||||
"test_iter_with_etag_missing_uid"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight CalDAV/CardDAV server";
|
||||
|
Loading…
Reference in New Issue
Block a user