Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / co / connman-notify / package.nix
blobcbf500913038ce1d316d29859f853c1a4ef1c65a
1 { lib, fetchFromGitLab, python3Packages, glib, gobject-introspection, wrapGAppsHook }:
3 python3Packages.buildPythonApplication {
4   pname = "connman-notify";
5   version = "2019-10-05";
7   src = fetchFromGitLab {
8     owner = "wavexx";
9     repo = "connman-notify";
10     rev = "24b10a51721b54d932f4cd61ef2756423768c015";
11     sha256 = "1k5b5y6114yna2cm0cq82xilicran63hrhlklgv7k3p89057xh8j";
12   };
14   format = "other";
16   nativeBuildInputs = [ gobject-introspection wrapGAppsHook ];
18   buildInputs = [ glib ];
20   pythonPath = with python3Packages; [ dbus-python pygobject3 ];
22   strictDeps = false;
24   installPhase = ''
25     install -D -t $out/bin connman-notify
26     install -D -t $out/share/doc README.rst
27   '';
29   meta = with lib; {
30     description = "Desktop notification integration for connman";
31     homepage = "https://gitlab.com/wavexx/connman-notify";
32     license = licenses.gpl2;
33     platforms = platforms.linux;
34     maintainers = [ maintainers.romildo ];
35   };