2017-05-01 23:35:48 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, efl, python2Packages, dbus, curl, makeWrapper }:
|
2016-08-23 00:45:29 +02:00
|
|
|
|
2014-09-15 21:54:02 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "econnman-${version}";
|
|
|
|
version = "1.1";
|
2016-08-23 00:45:29 +02:00
|
|
|
|
2014-09-15 21:54:02 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.enlightenment.org/rel/apps/econnman/${name}.tar.gz";
|
|
|
|
sha256 = "057pwwavlvrrq26bncqnfrf449zzaim0zq717xv86av4n940gwv0";
|
|
|
|
};
|
|
|
|
|
2016-08-23 00:45:29 +02:00
|
|
|
nativeBuildInputs = [ makeWrapper pkgconfig python2Packages.wrapPython ];
|
|
|
|
|
2017-05-01 23:35:48 +02:00
|
|
|
buildInputs = [ efl python2Packages.python dbus curl ];
|
2016-08-23 00:45:29 +02:00
|
|
|
|
|
|
|
pythonPath = [ python2Packages.pythonefl python2Packages.dbus-python ];
|
|
|
|
|
2014-09-15 21:54:02 +02:00
|
|
|
postInstall = ''
|
2016-03-12 00:54:29 +01:00
|
|
|
wrapPythonPrograms
|
2017-05-01 23:35:48 +02:00
|
|
|
wrapProgram $out/bin/econnman-bin --prefix LD_LIBRARY_PATH : ${curl.out}/lib
|
2014-09-15 21:54:02 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2015-04-30 17:05:14 +02:00
|
|
|
description = "A user interface for the connman network connection manager";
|
2014-09-15 21:54:02 +02:00
|
|
|
homepage = http://enlightenment.org/;
|
2015-05-16 16:42:40 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ftrvxmtrx ];
|
2014-09-15 21:54:02 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.lgpl3;
|
|
|
|
};
|
|
|
|
}
|