Merge pull request #159886 from dotlambda/greeclimate-1.0.3

python3Packages.greeclimate: 1.0.2 -> 1.0.3
This commit is contained in:
Fabian Affolter 2022-02-14 10:15:08 +01:00 committed by GitHub
commit 344e51dfdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "greeclimate";
version = "1.0.2";
version = "1.0.3";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -19,15 +19,9 @@ buildPythonPackage rec {
owner = "cmroche";
repo = "greeclimate";
rev = "v${version}";
hash = "sha256-Y8IgqrU8zzV020qwyyb57Tp2j7laQ3JsCOCYBuf8vsQ=";
hash = "sha256-z8X/AZx5Vam7nqYTjhhyXz7E23Crf5vLlNhWXLGSMcs=";
};
postPatch = ''
# upstream issue for proper solution https://github.com/cmroche/greeclimate/issues/46
substituteInPlace setup.py \
--replace 'name="greeclimate",' 'name="greeclimate",version="${version}",'
'';
propagatedBuildInputs = [
netifaces
pycryptodome