nixpkgs/pkgs/desktops/enlightenment/econnman/default.nix
2022-04-14 11:28:21 -03:00

30 lines
910 B
Nix

{ lib, stdenv, fetchurl, pkg-config, efl, python3Packages, dbus, makeWrapper }:
stdenv.mkDerivation rec {
pname = "econnman";
version = "1.1";
src = fetchurl {
url = "http://download.enlightenment.org/rel/apps/econnman/${pname}-${version}.tar.gz";
sha256 = "057pwwavlvrrq26bncqnfrf449zzaim0zq717xv86av4n940gwv0";
};
nativeBuildInputs = [ makeWrapper pkg-config python3Packages.wrapPython ];
buildInputs = [ efl python3Packages.python dbus ];
pythonPath = [ python3Packages.pythonefl python3Packages.dbus-python ];
postInstall = ''
wrapPythonPrograms
'';
meta = with lib; {
description = "A user interface for the connman network connection manager";
homepage = "https://enlightenment.org/";
license = licenses.lgpl3;
platforms = platforms.linux;
maintainers = with lib.maintainers; [ matejc tstrobel ftrvxmtrx ] ++ teams.enlightenment.members;
};
}