nixpkgs/pkgs/servers/xandikos/default.nix
2020-06-04 20:51:34 +02:00

35 lines
686 B
Nix

{ stdenv
, fetchFromGitHub
, python3Packages
}:
python3Packages.buildPythonApplication rec {
pname = "xandikos";
version = "0.2.2";
src = fetchFromGitHub {
owner = "jelmer";
repo = "xandikos";
rev = "v${version}";
sha256 = "1b75r3ipjmk48nvc99zib8gc8xpsb3m0ssg7k0am3zmryi7i19h7";
};
propagatedBuildInputs = with python3Packages; [
aiohttp
dulwich
defusedxml
icalendar
jinja2
multidict
prometheus_client
];
meta = with stdenv.lib; {
description = "Lightweight CalDAV/CardDAV server";
homepage = "https://github.com/jelmer/xandikos";
license = licenses.gpl3Plus;
maintainers = [ maintainers."0x4A6F" ];
};
}