1{
2 accountsservice,
3 glib,
4 gobject-introspection,
5 python3,
6 wrapGAppsNoGuiHook,
7 lib,
8}:
9
10python3.pkgs.buildPythonApplication {
11 name = "set-session";
12
13 format = "other";
14
15 src = ./set-session.py;
16
17 dontUnpack = true;
18
19 strictDeps = false;
20
21 nativeBuildInputs = [
22 wrapGAppsNoGuiHook
23 gobject-introspection
24 ];
25
26 buildInputs = [
27 accountsservice
28 glib
29 ];
30
31 propagatedBuildInputs = with python3.pkgs; [
32 pygobject3
33 ordered-set
34 ];
35
36 installPhase = ''
37 mkdir -p $out/bin
38 cp $src $out/bin/set-session
39 chmod +x $out/bin/set-session
40 '';
41
42 meta = with lib; {
43 maintainers = with maintainers; [ ] ++ teams.pantheon.members;
44 };
45}