nixpkgs/pkgs/by-name/co/connman-notify/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
1.0 KiB
Nix
Raw Normal View History

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