python311Packages.bless: refactor
This commit is contained in:
parent
eef817b55e
commit
69412cedd7
@ -5,24 +5,34 @@
|
||||
, dbus-next
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bless";
|
||||
version = "0.2.6";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kevincar";
|
||||
repo = pname;
|
||||
repo = "bless";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-dAdA+d75iE6v6t4mfgvwhRsIARLW+IqCGmaMABaDlZg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/pysetupdi/d" setup.py
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bleak
|
||||
dbus-next
|
||||
@ -31,6 +41,7 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
aioconsole
|
||||
numpy
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user