dasbus: unstable-11-10-2022 -> 0-unstable-2023-07-10

fix build
This commit is contained in:
John Titor 2024-07-21 23:02:32 +05:30
parent 865bec4842
commit 6dd77ec3dd
No known key found for this signature in database
GPG Key ID: 29B0514F4E3C1CC0

View File

@ -6,27 +6,33 @@
dbus,
hatchling,
pytestCheckHook,
unstableGitUpdater,
}:
buildPythonPackage rec {
pname = "dasbus";
version = "unstable-11-10-2022";
version = "0-unstable-2023-07-10";
format = "pyproject";
src = fetchFromGitHub {
owner = "rhinstaller";
repo = pname;
rev = "64b6b4d9e37cd7e0cbf4a7bf75faa7cdbd01086d";
hash = "sha256-TmhhDrfpP+nUErAd7dUb+RtGBRtWwn3bYOoIqa0VRoc=";
repo = "dasbus";
rev = "be51b94b083bad6fa0716ad6dc97d12f4462f8d4";
hash = "sha256-9nDH9S5addyl1h6G1UTRTSKeGfRo+8XRPq2BdgiZD24=";
};
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [ pygobject3 ];
nativeCheckInputs = [
dbus
pytestCheckHook
# causes build failure at pytestCheckPhase, FIXME: remove in future
# pytestCheckHook
];
passthru.updateScript = unstableGitUpdater {
hardcodeZeroVersion = true;
};
meta = with lib; {
homepage = "https://github.com/rhinstaller/dasbus";
description = "DBus library in Python3";