Merge pull request #311429 from fabaff/youless-api-bump
python312Packages.youless-api: 1.0.1 -> 1.1.1
This commit is contained in:
commit
cb6ce613e3
@ -1,48 +1,39 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromBitbucket
|
||||
, pythonOlder
|
||||
, certifi
|
||||
, chardet
|
||||
, idna
|
||||
, pynose
|
||||
, requests
|
||||
, urllib3
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "youless-api";
|
||||
version = "1.0.1";
|
||||
format = "setuptools";
|
||||
version = "1.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromBitbucket {
|
||||
owner = "jongsoftdev";
|
||||
src = fetchFromGitHub {
|
||||
owner = "gjong";
|
||||
repo = "youless-python-bridge";
|
||||
rev = version;
|
||||
hash = "sha256-49/HmkGr87aDhr8GEtARpXvr2RcgmLdAqhvMLI5x+vQ=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-J3YRRVcA4LYxuJMi//LJO8Qt8hapJruZGzONODE3SsQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
certifi
|
||||
chardet
|
||||
idna
|
||||
requests
|
||||
urllib3
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pynose
|
||||
];
|
||||
dependencies = [ requests ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"youless_api"
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "youless_api" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for YouLess sensors";
|
||||
homepage = "https://pypi.org/project/youless-api/";
|
||||
homepage = "https://github.com/gjong/youless-python-bridge";
|
||||
changelog = "https://github.com/gjong/youless-python-bridge/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user