Skip to content

Commit

Permalink
xandikos: backport systemd socket activation
Browse files Browse the repository at this point in the history
  • Loading branch information
schnusch committed Dec 13, 2022
1 parent ef176dc commit 2a04b5f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/servers/xandikos/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, fetchpatch
, python3Packages
, nixosTests
}:
Expand All @@ -15,6 +16,14 @@ python3Packages.buildPythonApplication rec {
sha256 = "sha256-KDDk0QSOjwivJFz3vLk+g4vZMlSuX2FiOgHJfDJkpwg=";
};

patches = [
# add support for systemd socket activation
(fetchpatch {
url = "https://github.com/jelmer/xandikos/pull/155.diff";
sha256 = "sha256-h2E0DSeWMkuUytMiu+uUsEJI22fszNCOxEqvPlXMYek=";
})
];

propagatedBuildInputs = with python3Packages; [
aiohttp
dulwich
Expand All @@ -23,6 +32,7 @@ python3Packages.buildPythonApplication rec {
jinja2
multidict
prometheus-client
systemd
];

passthru.tests.xandikos = nixosTests.xandikos;
Expand Down

0 comments on commit 2a04b5f

Please sign in to comment.