python313Packages.py-improv-ble-client: 1.0.4 -> 2.0.1
Changelog: https://github.com/home-assistant-libs/py-improv-ble-client/releases/tag/2.0.0 https://github.com/home-assistant-libs/py-improv-ble-client/releases/tag/2.0.1
This commit is contained in:
committed by
Martin Weinelt
parent
19925f2a9f
commit
20823343e3
@@ -4,28 +4,25 @@
|
||||
bleak,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "py-improv-ble-client";
|
||||
version = "1.0.4";
|
||||
version = "2.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "py-improv-ble-client";
|
||||
tag = version;
|
||||
hash = "sha256-leYSDB5/jFqlvX78OYzlFkkVxIkJ7iOUoLHBuVj7tAo=";
|
||||
hash = "sha256-PkAZhKgj+xQtOOCccBXbR2QkwlkYavJe1pfU9nMhuVs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools~=65.6" "setuptools" \
|
||||
--replace-fail "wheel~=0.37.1" "wheel"
|
||||
--replace-fail "setuptools>=65.6,<81.0" "setuptools" \
|
||||
--replace-fail "wheel>=0.37.1,<0.46.0" "wheel"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -43,7 +40,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Module to provision devices which implement Improv via BLE";
|
||||
homepage = "https://github.com/home-assistant-libs/py-improv-ble-client";
|
||||
changelog = "https://github.com/home-assistant-libs/py-improv-ble-client/releases/tag/${version}";
|
||||
changelog = "https://github.com/home-assistant-libs/py-improv-ble-client/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user