2016-07-21 03:44:55 +02:00
|
|
|
{ stdenv, fetchFromGitHub, pythonPackages, makeWrapper }:
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "connman-notify";
|
2016-07-21 03:44:55 +02:00
|
|
|
version = "2014-06-23";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wavexx";
|
|
|
|
repo = "connman-notify";
|
|
|
|
rev = "0ed9b5e4a0e1f03c83c4589cabf410cac66cd11d";
|
|
|
|
sha256 = "0lhk417fdg3qxs1marpqp277bdxhwnbyrld9xj224bfk5v7xi4bg";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pythonPackages.python
|
2016-08-16 22:51:21 +02:00
|
|
|
pythonPackages.dbus-python
|
2016-09-11 23:24:51 +02:00
|
|
|
pythonPackages.pygobject2
|
2016-07-21 03:44:55 +02:00
|
|
|
pythonPackages.pygtk
|
|
|
|
pythonPackages.notify
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp -vai connman-notify $out/bin/
|
|
|
|
'';
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
wrapProgram $out/bin/connman-notify --prefix PYTHONPATH : "$PYTHONPATH"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Desktop notification integration for connman";
|
|
|
|
homepage = https://github.com/wavexx/connman-notify;
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|