3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #282984 from wegank/labgrid-fix

python311Packages.labgrid: 23.0.4 -> 23.0.5, fix build
This commit is contained in:
Weijia Wang 2024-01-23 18:21:36 +01:00 committed by GitHub
commit 7f5e889db3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,7 @@
, jinja2
, lib
, mock
, openssh
, packaging
, pexpect
, psutil
@ -13,6 +14,7 @@
, pytestCheckHook
, pytest-dependency
, pytest-mock
, pythonRelaxDepsHook
, pyudev
, pyusb
, pyyaml
@ -25,16 +27,17 @@
buildPythonPackage rec {
pname = "labgrid";
version = "23.0.4";
version = "23.0.5";
src = fetchFromGitHub {
owner = "labgrid-project";
repo = "labgrid";
rev = "refs/tags/v${version}";
sha256 = "sha256-EEPQSIHKAmLPudv7LLm9ol3Kukgz8edYKfDi+wvERpk=";
hash = "sha256-jrapbSrybuLT3V11rvV342tOr7/sRwBMgAdNWDG5obA=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
setuptools
setuptools-scm
wheel
@ -57,8 +60,25 @@ buildPythonPackage rec {
xmodem
];
pythonRelaxDeps = [
"attrs"
"autobahn"
"jinja2"
"packaging"
"pexpect"
"pytest"
"pyudev"
"requests"
"xmodem"
];
pythonRemoveDeps = [
"pyserial-labgrid"
];
nativeCheckInputs = [
mock
openssh
psutil
pytestCheckHook
pytest-mock