3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #237109 from fabaff/siobrultech-protocols-bump

python311Packages.siobrultech-protocols: 0.9.0 -> 0.12.0
This commit is contained in:
Fabian Affolter 2023-06-11 11:03:27 +02:00 committed by GitHub
commit f4613d3557
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 17 deletions

View file

@ -1,25 +1,25 @@
{ lib { lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, aiohttp , aiohttp
, siobrultech-protocols , buildPythonPackage
, fetchFromGitHub
, pytestCheckHook , pytestCheckHook
, pythonOlder
, siobrultech-protocols
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "greeneye-monitor"; pname = "greeneye-monitor";
version = "3.0.3"; version = "4.0";
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.10";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jkeljo"; owner = "jkeljo";
repo = "greeneye-monitor"; repo = "greeneye-monitor";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-weZTOVFBlB6TxFs8pLWfyB7WD/bn3ljBjX2tVi1Zc/I="; hash = "sha256-kMyFerb6T5316cr4T5hSo4HcpO5Hl5l+bMor5jon9yY=";
}; };
postPatch = '' postPatch = ''
@ -36,12 +36,15 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
pythonImportsCheck = [ "greeneye.monitor" ]; pythonImportsCheck = [
"greeneye.monitor"
];
meta = { meta = with lib; {
description = "Receive data packets from GreenEye Monitor"; description = "Receive data packets from GreenEye Monitor";
homepage = "https://github.com/jkeljo/greeneye-monitor"; homepage = "https://github.com/jkeljo/greeneye-monitor";
license = lib.licenses.mit; changelog = "https://github.com/jkeljo/greeneye-monitor/blob/v${version}/CHANGELOG.rst";
maintainers = with lib.maintainers; [ dotlambda ]; license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
}; };
} }

View file

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "siobrultech-protocols"; pname = "siobrultech-protocols";
version = "0.9.0"; version = "0.12.0";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "sdwilsh"; owner = "sdwilsh";
repo = "siobrultech-protocols"; repo = "siobrultech-protocols";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-8qhg7PX4u4vN2+hWXzFjC1ZzgCEhkSr9Fn58Lc4E76c="; hash = "sha256-71iFZS5CLYXNw57psLXswNJKfvbeKOqSncLoSsNXqjc=";
}; };
nativeCheckInputs = [ nativeCheckInputs = [
@ -33,10 +33,11 @@ buildPythonPackage rec {
"siobrultech_protocols.gem.protocol" "siobrultech_protocols.gem.protocol"
]; ];
meta = { meta = with lib; {
description = "A Sans-I/O Python client library for Brultech Devices"; description = "A Sans-I/O Python client library for Brultech Devices";
homepage = "https://github.com/sdwilsh/siobrultech-protocols"; homepage = "https://github.com/sdwilsh/siobrultech-protocols";
license = lib.licenses.mit; changelog = "https://github.com/sdwilsh/siobrultech-protocols/releases/tag/v${version}";
maintainers = with lib.maintainers; [ dotlambda ]; license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
}; };
} }