Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 82 lines
Nix
at flake-libs
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283{ ansicolors, attrs, autobahn, buildPythonPackage, fetchFromGitHub, jinja2, lib, mock, openssh, pexpect, psutil, pyserial, pytestCheckHook, pytest-dependency, pytest-mock, pyudev, pyusb, pyyaml, requests, setuptools, setuptools-scm, xmodem,}:
buildPythonPackage rec { pname = "labgrid"; version = "24.0.2"; pyproject = true;
src = fetchFromGitHub { owner = "labgrid-project"; repo = "labgrid"; tag = "v${version}"; hash = "sha256-rW9peT4zoPzVR6Kl/E8G4qBig/x/lvxpCtvNtwIIL+U="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ ansicolors attrs autobahn jinja2 pexpect pyserial pyudev pyusb pyyaml requests xmodem ];
pythonRemoveDeps = [ "pyserial-labgrid" ];
pythonImportsCheck = [ "labgrid" ];
nativeCheckInputs = [ mock openssh psutil pytestCheckHook pytest-mock pytest-dependency ];
disabledtests = [ # flaky, timing sensitive "test_timing" ];
meta = with lib; { description = "Embedded control & testing library"; homepage = "https://github.com/labgrid-project/labgrid"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ emantor ]; platforms = with platforms; linux; };}