nixpkgs/pkgs/desktops/enlightenment/econnman/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

53 lines
1.0 KiB
Nix

{ 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 = "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;
};
}