mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
python313Packages.pyisy: 3.1.14 -> 3.4.0
Diff: https://github.com/automicus/PyISY/compare/refs/tags/v3.1.14...v3.4.0 Changelog: https://github.com/automicus/PyISY/releases/tag/v3.1.15 https://github.com/automicus/PyISY/releases/tag/v3.2.0 https://github.com/automicus/PyISY/releases/tag/v3.3.0 https://github.com/automicus/PyISY/releases/tag/v3.4.0
This commit is contained in:
@@ -5,23 +5,20 @@
|
||||
colorlog,
|
||||
fetchFromGitHub,
|
||||
python-dateutil,
|
||||
pythonOlder,
|
||||
requests,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyisy";
|
||||
version = "3.1.14";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
version = "3.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "automicus";
|
||||
repo = "PyISY";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-OvWdKr8RlXRnAUMHSPhJDacvKeRa8QGPmGPQWLG2ouk=";
|
||||
hash = "sha256-rXSkDG7AK8+r4x3ttk7GJw1hH+xLLVx0gTGK0PvQNfE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -29,9 +26,9 @@ buildPythonPackage rec {
|
||||
--replace 'version_format="{tag}"' 'version="${version}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
colorlog
|
||||
python-dateutil
|
||||
@@ -46,7 +43,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python module to talk to ISY994 from UDI";
|
||||
homepage = "https://github.com/automicus/PyISY";
|
||||
changelog = "https://github.com/automicus/PyISY/releases/tag/v${version}";
|
||||
changelog = "https://github.com/automicus/PyISY/releases/tag/${src.tag}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user