depot/third_party/nixpkgs/pkgs/development/python-modules/labgrid/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

95 lines
1.4 KiB
Nix

{ ansicolors
, attrs
, autobahn
, buildPythonPackage
, fetchFromGitHub
, jinja2
, lib
, mock
, openssh
, packaging
, pexpect
, psutil
, pyserial
, pytestCheckHook
, pytest-dependency
, pytest-mock
, pythonRelaxDepsHook
, pyudev
, pyusb
, pyyaml
, requests
, setuptools
, setuptools-scm
, wheel
, xmodem
}:
buildPythonPackage rec {
pname = "labgrid";
version = "23.0.5";
src = fetchFromGitHub {
owner = "labgrid-project";
repo = "labgrid";
rev = "refs/tags/v${version}";
hash = "sha256-jrapbSrybuLT3V11rvV342tOr7/sRwBMgAdNWDG5obA=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
setuptools
setuptools-scm
wheel
];
pyproject = true;
propagatedBuildInputs = [
ansicolors
attrs
autobahn
jinja2
packaging
pexpect
pyserial
pyudev
pyusb
pyyaml
requests
xmodem
];
pythonRelaxDeps = [
"attrs"
"autobahn"
"jinja2"
"packaging"
"pexpect"
"pytest"
"pyudev"
"requests"
"xmodem"
];
pythonRemoveDeps = [
"pyserial-labgrid"
];
nativeCheckInputs = [
mock
openssh
psutil
pytestCheckHook
pytest-mock
pytest-dependency
];
meta = with lib; {
description = "Embedded control & testing library";
homepage = "https://labgrid.org";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ emantor ];
platforms = with platforms; linux;
};
}