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