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