python3Packages.sdbus: 0.14.1.post0 -> 0.14.2 (#473382)
This commit is contained in:
@@ -2,31 +2,49 @@
|
||||
pkgs,
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
dbus,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
let
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "sdbus";
|
||||
version = "0.14.1.post0";
|
||||
in
|
||||
buildPythonPackage {
|
||||
format = "setuptools";
|
||||
inherit pname version;
|
||||
version = "0.14.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-sdbus";
|
||||
repo = "python-sdbus";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-vRz7RTSI5QjI48YnaC20mbOKl6+yXk/TrFicQ0MDR9Q=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ pkgs.systemd ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-rjkVqz4/ChFmMuHlh235krlSnoKwtJIAbrIvh5Htbes=";
|
||||
};
|
||||
pythonImportsCheck = [ "sdbus" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
dbus
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# try to access /var/lib/dbus/machine-id
|
||||
"test/test_proxies.py::TestFreedesktopDbus::test_connection"
|
||||
"test/test_sdbus_block.py::TestSync::test_sync"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Modern Python library for D-Bus";
|
||||
homepage = "https://github.com/python-sdbus/python-sdbus";
|
||||
license = lib.licenses.lgpl2;
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
maintainers = with lib.maintainers; [ camelpunch ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user