8 buildPythonPackage rec {
9 inherit (libeduvpn-common) version src;
10 pname = "eduvpn-common";
12 sourceRoot = "${pname}-${version}/wrappers/python";
14 patches = [ ./use-nix-lib.patch ];
17 substituteInPlace eduvpn_common/loader.py \
18 --subst-var-by libeduvpn-common ${libeduvpn-common.out}/lib/lib${pname}-${version}.so
23 propagatedBuildInputs = [
28 nativeCheckInputs = [ selenium ];
30 pythonImportsCheck = [ "eduvpn_common" ];
32 meta = libeduvpn-common.meta // {
33 description = "Python wrapper for libeduvpn-common";