Merge pull request #278580 from fabaff/rachiopy-bump
python311Packages.rachiopy: 1.0.3 -> 1.1.0
This commit is contained in:
@@ -1,35 +1,48 @@
|
||||
{ lib
|
||||
, requests
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, jsonschema
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rachiopy";
|
||||
version = "1.0.3";
|
||||
format = "setuptools";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rfverbruggen";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1d5v9qc7ymzns3ivc5fzwxnxz9sjkhklh57cw05va95mpk5kdskc";
|
||||
repo = "rachiopy";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-PsdEXNy8vUxba/C00ARhLTQU9gMlChy9XdU20r+Maus=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
jsonschema
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "rachiopy" ];
|
||||
pythonImportsCheck = [
|
||||
"rachiopy"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for Rachio Irrigation controller";
|
||||
homepage = "https://github.com/rfverbruggen/rachiopy";
|
||||
changelog = "https://github.com/rfverbruggen/rachiopy/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user