labgrid: 24.0.2 -> 25.0 (#405884)

authored by Peder Bergebakken Sundt and committed by GitHub 722e4da5 805e7c8d

+29 -4
+29 -4
pkgs/development/python-modules/labgrid/default.nix
··· 1 { 2 ansicolors, 3 attrs, 4 - autobahn, 5 buildPythonPackage, 6 fetchFromGitHub, 7 jinja2, 8 lib, 9 mock, ··· 12 psutil, 13 pyserial, 14 pytestCheckHook, 15 pytest-dependency, 16 pytest-mock, 17 pyudev, ··· 25 26 buildPythonPackage rec { 27 pname = "labgrid"; 28 - version = "24.0.2"; 29 pyproject = true; 30 31 src = fetchFromGitHub { 32 owner = "labgrid-project"; 33 repo = "labgrid"; 34 tag = "v${version}"; 35 - hash = "sha256-rW9peT4zoPzVR6Kl/E8G4qBig/x/lvxpCtvNtwIIL+U="; 36 }; 37 38 build-system = [ 39 setuptools 40 setuptools-scm ··· 43 dependencies = [ 44 ansicolors 45 attrs 46 - autobahn 47 jinja2 48 pexpect 49 pyserial 50 pyudev ··· 63 openssh 64 psutil 65 pytestCheckHook 66 pytest-mock 67 pytest-dependency 68 ]; ··· 71 # flaky, timing sensitive 72 "test_timing" 73 ]; 74 75 meta = with lib; { 76 description = "Embedded control & testing library";
··· 1 { 2 ansicolors, 3 attrs, 4 buildPythonPackage, 5 fetchFromGitHub, 6 + fetchpatch, 7 + grpcio, 8 + grpcio-tools, 9 + grpcio-reflection, 10 jinja2, 11 lib, 12 mock, ··· 15 psutil, 16 pyserial, 17 pytestCheckHook, 18 + pytest-benchmark, 19 pytest-dependency, 20 pytest-mock, 21 pyudev, ··· 29 30 buildPythonPackage rec { 31 pname = "labgrid"; 32 + version = "25.0"; 33 pyproject = true; 34 35 src = fetchFromGitHub { 36 owner = "labgrid-project"; 37 repo = "labgrid"; 38 tag = "v${version}"; 39 + hash = "sha256-Czq8Wx8ThKLcR8GjdlRND+Y1nY1PTl6wDkz9ml83DBk="; 40 }; 41 42 + # Remove after package bump 43 + patches = [ 44 + (fetchpatch { 45 + url = "https://github.com/Emantor/labgrid/commit/4a66b43882811d50600e37aa39b24ec40398d184.patch"; 46 + sha256 = "sha256-eJMB1qFWiDzQXEB4dYOHYMQqCPHXEWCwWjNNY0yTC2s="; 47 + }) 48 + (fetchpatch { 49 + url = "https://github.com/Emantor/labgrid/commit/d9933b3ec444c35d98fd41685481ecae8ff28bf4.patch"; 50 + sha256 = "sha256-Zx5j+CD6Q89dLmTl5QSKI9M1IcZ97OCjEWtEbG+CKWE="; 51 + }) 52 + (fetchpatch { 53 + url = "https://github.com/Emantor/labgrid/commit/f0b672afe1e8976c257f0adff9bf6e7ee9760d6f.patch"; 54 + sha256 = "sha256-M7rg+W9SjWDdViWyWe3ERzbUowxzf09c4w1yG3jQGak="; 55 + }) 56 + ]; 57 + 58 build-system = [ 59 setuptools 60 setuptools-scm ··· 63 dependencies = [ 64 ansicolors 65 attrs 66 jinja2 67 + grpcio 68 + grpcio-tools 69 + grpcio-reflection 70 pexpect 71 pyserial 72 pyudev ··· 85 openssh 86 psutil 87 pytestCheckHook 88 + pytest-benchmark 89 pytest-mock 90 pytest-dependency 91 ]; ··· 94 # flaky, timing sensitive 95 "test_timing" 96 ]; 97 + 98 + pytestFlagsArray = [ "--benchmark-disable" ]; 99 100 meta = with lib; { 101 description = "Embedded control & testing library";