2024-04-26 20:24:03 +00:00
|
|
|
{ lib, fetchFromGitLab, python3Packages, glib, gobject-introspection, wrapGAppsHook3 }:
|
2016-07-21 01:44:55 +00:00
|
|
|
|
2019-11-27 10:46:27 +00:00
|
|
|
python3Packages.buildPythonApplication {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "connman-notify";
|
2019-11-27 10:46:27 +00:00
|
|
|
version = "2019-10-05";
|
2016-07-21 01:44:55 +00:00
|
|
|
|
2019-11-27 10:46:27 +00:00
|
|
|
src = fetchFromGitLab {
|
2016-07-21 01:44:55 +00:00
|
|
|
owner = "wavexx";
|
|
|
|
repo = "connman-notify";
|
2019-11-27 10:46:27 +00:00
|
|
|
rev = "24b10a51721b54d932f4cd61ef2756423768c015";
|
2024-09-14 21:47:11 +00:00
|
|
|
hash = "sha256-EsF+Ckjojnn2o5PCDIexKrNIYxcIM1CZUNaTEIwvq8w=";
|
2016-07-21 01:44:55 +00:00
|
|
|
};
|
|
|
|
|
2019-11-27 10:46:27 +00:00
|
|
|
format = "other";
|
2016-07-21 01:44:55 +00:00
|
|
|
|
2024-04-26 20:24:03 +00:00
|
|
|
nativeBuildInputs = [ gobject-introspection wrapGAppsHook3 ];
|
2019-11-27 10:46:27 +00:00
|
|
|
|
|
|
|
buildInputs = [ glib ];
|
|
|
|
|
|
|
|
pythonPath = with python3Packages; [ dbus-python pygobject3 ];
|
|
|
|
|
|
|
|
strictDeps = false;
|
2016-07-21 01:44:55 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2019-11-27 10:46:27 +00:00
|
|
|
install -D -t $out/bin connman-notify
|
|
|
|
install -D -t $out/share/doc README.rst
|
2016-07-21 01:44:55 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-07-21 01:44:55 +00:00
|
|
|
description = "Desktop notification integration for connman";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "connman-notify";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://gitlab.com/wavexx/connman-notify";
|
2016-07-21 01:44:55 +00:00
|
|
|
license = licenses.gpl2;
|
2016-09-16 16:50:36 +00:00
|
|
|
platforms = platforms.linux;
|
2016-07-21 01:44:55 +00:00
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|