Merge pull request #329184 from NixOS/revert-328953-fix-dasbus

Revert "dasbus: unstable-11-10-2022 -> 0-unstable-2023-07-10"
This commit is contained in:
Robert Schütz 2024-07-22 08:31:57 -07:00 committed by GitHub
commit 987470b3d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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