Merge pull request #209912 from fabaff/pyswitchbee-bump
python310Packages.pyswitchbee: 1.7.3 -> 1.7.18
This commit is contained in:
@@ -4,11 +4,12 @@
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, pythonOlder
|
||||
, packaging
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyswitchbee";
|
||||
version = "1.7.3";
|
||||
version = "1.7.18";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -17,21 +18,16 @@ buildPythonPackage rec {
|
||||
owner = "jafar-atili";
|
||||
repo = "pySwitchbee";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-M3sxxBp4IoqZLX9Lyw35Z0zkV6fDT7AkeDOcdPN5k7w=";
|
||||
hash = "sha256-LQjtePFSMvZdAGH6f8CveaE7ASm/x9GuFj9s3TipYHQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/jafar-atili/pySwitchbee/pull/2
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '"asyncio",' ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
packaging
|
||||
];
|
||||
|
||||
# Module doesn't have tests
|
||||
|
||||
Reference in New Issue
Block a user