mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Merge pull request #212957 from fortuneteller2k/dasbus
fix https://github.com/NixOS/nixpkgs/issues/212879
This commit is contained in:
commit
50739b3c0d
1 changed files with 10 additions and 6 deletions
|
@ -1,16 +1,20 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pygobject3, dbus }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pygobject3, dbus, hatchling, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dasbus";
|
||||
version = "1.7";
|
||||
version = "unstable-11-10-2022";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-qIUNhBrf6O5fe7n4LPRJq5tJUNwGM4lwcXGODQA2tvY=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "rhinstaller";
|
||||
repo = pname;
|
||||
rev = "64b6b4d9e37cd7e0cbf4a7bf75faa7cdbd01086d";
|
||||
hash = "sha256-TmhhDrfpP+nUErAd7dUb+RtGBRtWwn3bYOoIqa0VRoc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ hatchling ];
|
||||
propagatedBuildInputs = [ pygobject3 ];
|
||||
nativeCheckInputs = [ dbus ];
|
||||
nativeCheckInputs = [ dbus pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/rhinstaller/dasbus";
|
||||
|
|
Loading…
Reference in a new issue