mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
python311Packages.whirlpool-sixth-sense: refactor
This commit is contained in:
parent
6c884064d1
commit
f595d4f269
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, aioconsole
|
, aioconsole
|
||||||
, aiohttp
|
, aiohttp
|
||||||
|
, async-timeout
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
|
@ -14,24 +15,25 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "whirlpool-sixth-sense";
|
pname = "whirlpool-sixth-sense";
|
||||||
version = "0.18.7";
|
version = "0.18.7";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "abmantis";
|
owner = "abmantis";
|
||||||
repo = pname;
|
repo = "whirlpool-sixth-sense";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-M4qOdxR97VhquB85IgimYKZqix2WoRIZcLSIlVK1xDY=";
|
hash = "sha256-M4qOdxR97VhquB85IgimYKZqix2WoRIZcLSIlVK1xDY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = [
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
aioconsole
|
aioconsole
|
||||||
aiohttp
|
aiohttp
|
||||||
|
async-timeout
|
||||||
websockets
|
websockets
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -44,7 +46,9 @@ buildPythonPackage rec {
|
||||||
# https://github.com/abmantis/whirlpool-sixth-sense/issues/15
|
# https://github.com/abmantis/whirlpool-sixth-sense/issues/15
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "whirlpool" ];
|
pythonImportsCheck = [
|
||||||
|
"whirlpool"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python library for Whirlpool 6th Sense appliances";
|
description = "Python library for Whirlpool 6th Sense appliances";
|
||||||
|
|
Loading…
Reference in a new issue