Merge pull request #155195 from fabaff/bump-nexia
python3Packages.nexia: 0.9.12 -> 0.9.13
This commit is contained in:
commit
fc715e9aae
1 changed files with 9 additions and 4 deletions
|
@ -9,14 +9,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "nexia";
|
pname = "nexia";
|
||||||
version = "0.9.12";
|
version = "0.9.13";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bdraco";
|
owner = "bdraco";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-YZHAWRTYquUm3Ymi/3mSQqxYZuoxsH5Q/LZOPDftEzU=";
|
sha256 = "sha256-0VG8tSwbVTIIsQYAEwzQfXLTDy4df/nS/rbHjYo7xf0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -29,10 +31,13 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py --replace '"pytest-runner",' ""
|
substituteInPlace setup.py \
|
||||||
|
--replace '"pytest-runner",' ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "nexia" ];
|
pythonImportsCheck = [
|
||||||
|
"nexia"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python module for Nexia thermostats";
|
description = "Python module for Nexia thermostats";
|
||||||
|
|
Loading…
Reference in a new issue