2020-04-24 23:36:52 +00:00
|
|
|
{ accountsservice
|
|
|
|
, glib
|
|
|
|
, gobject-introspection
|
|
|
|
, python3
|
2023-07-15 17:15:38 +00:00
|
|
|
, wrapGAppsNoGuiHook
|
2020-04-24 23:36:52 +00:00
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication {
|
|
|
|
name = "set-session";
|
|
|
|
|
|
|
|
format = "other";
|
|
|
|
|
|
|
|
src = ./set-session.py;
|
|
|
|
|
|
|
|
dontUnpack = true;
|
|
|
|
|
|
|
|
strictDeps = false;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2023-07-15 17:15:38 +00:00
|
|
|
wrapGAppsNoGuiHook
|
2020-04-24 23:36:52 +00:00
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
accountsservice
|
|
|
|
glib
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
pygobject3
|
|
|
|
ordered-set
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp $src $out/bin/set-session
|
|
|
|
chmod +x $out/bin/set-session
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-08-05 21:33:18 +00:00
|
|
|
maintainers = with maintainers; [ ] ++ teams.pantheon.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|