As suggested here link I added gobject-introspection
to nativeBuildInputs
and libnotify
to buildInputs
. However, it still fails to load the Notify
module. Any ideas?
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, libnotify
, gobject-introspection
, pytest-runner
, setuptools
, pynacl
, requests
, requests-oauthlib
, pygobject3
, dbus-python
}:
buildPythonPackage rec {
pname = "python-eduvpn-client";
version = "3.1.0";
src = fetchFromGitHub {
owner = "eduvpn";
repo = pname;
rev = version;
sha256 = "sha256-dCVCXCPw0PCE0d6KPmuhv/V4WVQS+ucQbWoR0Lx5TDk=";
};
nativeBuildInputs = [
gobject-introspection
];
buildInputs = [
libnotify
pytest-runner
pynacl
requests-oauthlib
];
propagatedBuildInputs = [
setuptools
requests
pygobject3
dbus-python
];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
homepage = "https://github.com/eduvpn/python-eduvpn-client";
description = "Linux client and Python client API for eduVPN";
license = with licenses; [ gpl3 ];
maintainers = with maintainers; [ ];
};
}