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