2022-10-27 13:08:47 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, makeWrapper
|
|
|
|
, pkg-config
|
|
|
|
, dbus
|
|
|
|
, efl
|
|
|
|
, python3Packages
|
2022-10-27 13:21:46 +00:00
|
|
|
, directoryListingUpdater
|
2022-10-27 13:08:47 +00:00
|
|
|
}:
|
2016-08-22 22:45:29 +00:00
|
|
|
|
2014-09-15 19:54:02 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "econnman";
|
2014-09-15 19:54:02 +00:00
|
|
|
version = "1.1";
|
2016-08-22 22:45:29 +00:00
|
|
|
|
2014-09-15 19:54:02 +00:00
|
|
|
src = fetchurl {
|
2022-10-27 13:17:54 +00:00
|
|
|
url = "http://download.enlightenment.org/rel/apps/econnman/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "sha256-DM6HaB+ufKcPHmPP4K5l/fF7wzRycFQxfiXjiXYZ7YU=";
|
2014-09-15 19:54:02 +00:00
|
|
|
};
|
|
|
|
|
2022-10-27 13:08:47 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
makeWrapper
|
|
|
|
pkg-config
|
|
|
|
python3Packages.wrapPython
|
|
|
|
];
|
2016-08-22 22:45:29 +00:00
|
|
|
|
2022-10-27 13:08:47 +00:00
|
|
|
buildInputs = [
|
|
|
|
dbus
|
|
|
|
efl
|
|
|
|
python3Packages.python
|
|
|
|
];
|
2016-08-22 22:45:29 +00:00
|
|
|
|
2022-10-27 13:08:47 +00:00
|
|
|
pythonPath = [
|
|
|
|
python3Packages.dbus-python
|
|
|
|
python3Packages.pythonefl
|
|
|
|
];
|
2016-08-22 22:45:29 +00:00
|
|
|
|
2014-09-15 19:54:02 +00:00
|
|
|
postInstall = ''
|
2016-03-11 23:54:29 +00:00
|
|
|
wrapPythonPrograms
|
2014-09-15 19:54:02 +00:00
|
|
|
'';
|
|
|
|
|
2022-10-27 13:21:46 +00:00
|
|
|
passthru.updateScript = directoryListingUpdater { };
|
|
|
|
|
2022-04-14 14:27:30 +00:00
|
|
|
meta = with lib; {
|
2015-04-30 15:05:14 +00:00
|
|
|
description = "User interface for the connman network connection manager";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "econnman-bin";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://enlightenment.org/";
|
2022-04-14 14:27:30 +00:00
|
|
|
license = licenses.lgpl3;
|
|
|
|
platforms = platforms.linux;
|
2022-06-22 23:40:02 +00:00
|
|
|
maintainers = with lib.maintainers; [ matejc ftrvxmtrx ] ++ teams.enlightenment.members;
|
2014-09-15 19:54:02 +00:00
|
|
|
};
|
|
|
|
}
|