blob: c71f28576055f5052c09ad505972dc4881fa54fb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{ lib
, stdenv
, fetchurl
, makeWrapper
, pkg-config
, dbus
, efl
, python3Packages
, directoryListingUpdater
}:
stdenv.mkDerivation rec {
pname = "econnman";
version = "1.1";
src = fetchurl {
url = "http://download.enlightenment.org/rel/apps/econnman/${pname}-${version}.tar.xz";
sha256 = "sha256-DM6HaB+ufKcPHmPP4K5l/fF7wzRycFQxfiXjiXYZ7YU=";
};
nativeBuildInputs = [
makeWrapper
pkg-config
python3Packages.wrapPython
];
buildInputs = [
dbus
efl
python3Packages.python
];
pythonPath = [
python3Packages.dbus-python
python3Packages.pythonefl
];
postInstall = ''
wrapPythonPrograms
'';
passthru.updateScript = directoryListingUpdater { };
meta = with lib; {
description = "A user interface for the connman network connection manager";
mainProgram = "econnman-bin";
homepage = "https://enlightenment.org/";
license = licenses.lgpl3;
platforms = platforms.linux;
maintainers = with lib.maintainers; [ matejc ftrvxmtrx ] ++ teams.enlightenment.members;
};
}
|