nixpkgs/pkgs/servers/xandikos/default.nix

35 lines
686 B
Nix
Raw Normal View History

2019-12-11 21:51:19 +00:00
{ stdenv
, fetchFromGitHub
, python3Packages
}:
python3Packages.buildPythonApplication rec {
pname = "xandikos";
2020-06-04 19:51:34 +01:00
version = "0.2.2";
2019-12-11 21:51:19 +00:00
src = fetchFromGitHub {
owner = "jelmer";
repo = "xandikos";
rev = "v${version}";
2020-06-04 19:51:34 +01:00
sha256 = "1b75r3ipjmk48nvc99zib8gc8xpsb3m0ssg7k0am3zmryi7i19h7";
2019-12-11 21:51:19 +00:00
};
propagatedBuildInputs = with python3Packages; [
2020-05-05 16:52:52 +01:00
aiohttp
2019-12-11 21:51:19 +00:00
dulwich
defusedxml
icalendar
jinja2
2020-05-05 16:52:52 +01:00
multidict
prometheus_client
2019-12-11 21:51:19 +00:00
];
meta = with stdenv.lib; {
description = "Lightweight CalDAV/CardDAV server";
homepage = "https://github.com/jelmer/xandikos";
license = licenses.gpl3Plus;
maintainers = [ maintainers."0x4A6F" ];
};
}