nixpkgs-suyu/pkgs/tools/networking/connman/connman-notify/default.nix

37 lines
962 B
Nix
Raw Normal View History

{ lib, fetchFromGitLab, python3Packages, glib, gobject-introspection, wrapGAppsHook }:
2016-07-21 03:44:55 +02:00
python3Packages.buildPythonApplication {
pname = "connman-notify";
version = "2019-10-05";
2016-07-21 03:44:55 +02:00
src = fetchFromGitLab {
2016-07-21 03:44:55 +02:00
owner = "wavexx";
repo = "connman-notify";
rev = "24b10a51721b54d932f4cd61ef2756423768c015";
sha256 = "1k5b5y6114yna2cm0cq82xilicran63hrhlklgv7k3p89057xh8j";
2016-07-21 03:44:55 +02:00
};
format = "other";
2016-07-21 03:44:55 +02:00
nativeBuildInputs = [ gobject-introspection wrapGAppsHook ];
buildInputs = [ glib ];
pythonPath = with python3Packages; [ dbus-python pygobject3 ];
strictDeps = false;
2016-07-21 03:44:55 +02:00
installPhase = ''
install -D -t $out/bin connman-notify
install -D -t $out/share/doc README.rst
2016-07-21 03:44:55 +02:00
'';
meta = with lib; {
2016-07-21 03:44:55 +02:00
description = "Desktop notification integration for connman";
homepage = "https://gitlab.com/wavexx/connman-notify";
2016-07-21 03:44:55 +02:00
license = licenses.gpl2;
platforms = platforms.linux;
2016-07-21 03:44:55 +02:00
maintainers = [ maintainers.romildo ];
};
}