Merge pull request #306105 from r-ryantm/auto-update/python311Packages.crc

python311Packages.crc: 6.1.2 -> 7.0.0
This commit is contained in:
Fabian Affolter 2024-04-23 09:33:44 +02:00 committed by GitHub
commit 29c2f01d9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 26 deletions

View File

@ -1,14 +1,15 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, poetry-core fetchFromGitHub,
, pytestCheckHook poetry-core,
, pythonOlder pytestCheckHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "crc"; pname = "crc";
version = "6.1.2"; version = "7.0.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -17,31 +18,23 @@ buildPythonPackage rec {
owner = "Nicoretti"; owner = "Nicoretti";
repo = "crc"; repo = "crc";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-d946yBMrOIgMXGOr2ej5bvn59D5iAGMese24qdv8l/Y="; hash = "sha256-y30tnGG+G9dWBO8MUFYm2IGHiGIPbv4kB2VwhV0/C74=";
}; };
nativeBuildInputs = [ build-system = [ poetry-core ];
poetry-core
];
nativeCheckInputs = [ nativeCheckInputs = [ pytestCheckHook ];
pytestCheckHook
];
pythonImportsCheck = [ pythonImportsCheck = [ "crc" ];
"crc"
];
disabledTestPaths = [ disabledTestPaths = [ "test/bench" ];
"test/bench"
];
meta = with lib; { meta = with lib; {
changelog = "https://github.com/Nicoretti/crc/releases/tag/${version}";
description = "Python module for calculating and verifying predefined & custom CRC's"; description = "Python module for calculating and verifying predefined & custom CRC's";
mainProgram = "crc";
homepage = "https://nicoretti.github.io/crc/"; homepage = "https://nicoretti.github.io/crc/";
changelog = "https://github.com/Nicoretti/crc/releases/tag/${version}";
license = licenses.bsd2; license = licenses.bsd2;
maintainers = with maintainers; [ jleightcap ]; maintainers = with maintainers; [ jleightcap ];
mainProgram = "crc";
}; };
} }

View File

@ -26,7 +26,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zha"; pname = "zha";
version = "0.0.5"; version = "0.0.8";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.12"; disabled = pythonOlder "3.12";
@ -35,7 +35,7 @@ buildPythonPackage rec {
owner = "zigpy"; owner = "zigpy";
repo = "zha"; repo = "zha";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-47dlWMzY1vPmHIDCy8a0xzk2G+OPq6vEK5OpP1c8vw4="; hash = "sha256-xOaqwgL8NqB3pHNa6U/wextntI5aMivHLaIhSRqvgRU=";
}; };
postPatch = '' postPatch = ''
@ -49,8 +49,6 @@ buildPythonPackage rec {
"zha-quirks" "zha-quirks"
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
pythonRelaxDepsHook pythonRelaxDepsHook
]; ];
@ -94,6 +92,7 @@ buildPythonPackage rec {
"test_check_available_unsuccessful" "test_check_available_unsuccessful"
"test_device_counter_sensors" "test_device_counter_sensors"
"test_device_tracker" "test_device_tracker"
"test_device_unavailable_skips_entity_polling"
"test_elec_measurement_sensor_polling" "test_elec_measurement_sensor_polling"
"test_electrical_measurement_init" "test_electrical_measurement_init"
"test_group_member_assume_state" "test_group_member_assume_state"