lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

pywayland: init at 0.4.7

authored by

Charlotte Van Petegem and committed by
Charlotte Van Petegem
c00092af 34ad3ffe

+45
+43
pkgs/development/python-modules/pywayland/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , python 5 + , cffi 6 + , pkg-config 7 + , wayland 8 + , pytestCheckHook 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "pywayland"; 13 + version = "0.4.7"; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + sha256 = "0IMNOPTmY22JCHccIVuZxDhVr41cDcKNkx8bp+5h2CU="; 18 + }; 19 + 20 + nativeBuildInputs = [ pkg-config ]; 21 + propagatedNativeBuildInputs = [ cffi ]; 22 + buildInputs = [ wayland ]; 23 + propagatedBuildInputs = [ cffi ]; 24 + checkInputs = [ pytestCheckHook ]; 25 + 26 + postBuild = '' 27 + ${python.interpreter} pywayland/ffi_build.py 28 + ''; 29 + 30 + # Tests need this to create sockets 31 + preCheck = '' 32 + export XDG_RUNTIME_DIR="$PWD" 33 + ''; 34 + 35 + pythonImportsCheck = [ "pywayland" ]; 36 + 37 + meta = with lib; { 38 + homepage = "https://github.com/flacjacket/pywayland"; 39 + description = "Python bindings to wayland using cffi"; 40 + license = licenses.ncsa; 41 + maintainers = with maintainers; [ chvp ]; 42 + }; 43 + }
+2
pkgs/top-level/python-packages.nix
··· 7724 7724 7725 7725 pywavelets = callPackage ../development/python-modules/pywavelets { }; 7726 7726 7727 + pywayland = callPackage ../development/python-modules/pywayland { }; 7728 + 7727 7729 pywbem = callPackage ../development/python-modules/pywbem { 7728 7730 inherit (pkgs) libxml2; 7729 7731 };