Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at lanzaboote 41 lines 798 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pygobject3 5}: 6 7buildPythonPackage rec { 8 pname = "pydbus"; 9 version = "0.6.0"; 10 pyproejct = true; 11 12 src = fetchFromGitHub { 13 owner = "LEW21"; 14 repo = "pydbus"; 15 rev = "refs/tags/v${version}"; 16 hash = "sha256-F1KKXG+7dWlEbToqtF3G7wU0Sco7zH5NqzlL58jyDGw="; 17 }; 18 19 postPatch = '' 20 substituteInPlace pydbus/_inspect3.py \ 21 --replace "getargspec" "getfullargspec" 22 ''; 23 24 propagatedBuildInputs = [ 25 pygobject3 26 ]; 27 28 pythonImportsCheck = [ 29 "pydbus" 30 "pydbus.generic" 31 ]; 32 33 doCheck = false; # requires a working dbus setup 34 35 meta = { 36 homepage = "https://github.com/LEW21/pydbus"; 37 description = "Pythonic DBus library"; 38 license = lib.licenses.lgpl2Plus; 39 maintainers = with lib.maintainers; [ ]; 40 }; 41}