2014-09-15 20:54:02 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, e19, python27, python27Packages, dbus, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "econnman-${version}";
|
|
|
|
version = "1.1";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.enlightenment.org/rel/apps/econnman/${name}.tar.gz";
|
|
|
|
sha256 = "057pwwavlvrrq26bncqnfrf449zzaim0zq717xv86av4n940gwv0";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper pkgconfig e19.efl python27 dbus ];
|
2015-05-16 15:42:40 +01:00
|
|
|
propagatedBuildInputs = [ python27Packages.pythonefl_1_14 python27Packages.dbus e19.elementary ];
|
2014-09-15 20:54:02 +01:00
|
|
|
postInstall = ''
|
2015-05-16 15:42:40 +01:00
|
|
|
wrapProgram $out/bin/econnman-bin --prefix PYTHONPATH : ${python27Packages.dbus}/lib/python2.7/site-packages:${python27Packages.pythonefl_1_14}/lib/python2.7/site-packages
|
2014-09-15 20:54:02 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2015-04-30 16:05:14 +01:00
|
|
|
description = "A user interface for the connman network connection manager";
|
2014-09-15 20:54:02 +01:00
|
|
|
homepage = http://enlightenment.org/;
|
2015-05-16 15:42:40 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ftrvxmtrx ];
|
2014-09-15 20:54:02 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.lgpl3;
|
|
|
|
};
|
|
|
|
}
|