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 1 { 2 2 ansicolors, 3 3 attrs, 4 - autobahn, 5 4 buildPythonPackage, 6 5 fetchFromGitHub, 6 + fetchpatch, 7 + grpcio, 8 + grpcio-tools, 9 + grpcio-reflection, 7 10 jinja2, 8 11 lib, 9 12 mock, ··· 12 15 psutil, 13 16 pyserial, 14 17 pytestCheckHook, 18 + pytest-benchmark, 15 19 pytest-dependency, 16 20 pytest-mock, 17 21 pyudev, ··· 25 29 26 30 buildPythonPackage rec { 27 31 pname = "labgrid"; 28 - version = "24.0.2"; 32 + version = "25.0"; 29 33 pyproject = true; 30 34 31 35 src = fetchFromGitHub { 32 36 owner = "labgrid-project"; 33 37 repo = "labgrid"; 34 38 tag = "v${version}"; 35 - hash = "sha256-rW9peT4zoPzVR6Kl/E8G4qBig/x/lvxpCtvNtwIIL+U="; 39 + hash = "sha256-Czq8Wx8ThKLcR8GjdlRND+Y1nY1PTl6wDkz9ml83DBk="; 36 40 }; 37 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 + 38 58 build-system = [ 39 59 setuptools 40 60 setuptools-scm ··· 43 63 dependencies = [ 44 64 ansicolors 45 65 attrs 46 - autobahn 47 66 jinja2 67 + grpcio 68 + grpcio-tools 69 + grpcio-reflection 48 70 pexpect 49 71 pyserial 50 72 pyudev ··· 63 85 openssh 64 86 psutil 65 87 pytestCheckHook 88 + pytest-benchmark 66 89 pytest-mock 67 90 pytest-dependency 68 91 ]; ··· 71 94 # flaky, timing sensitive 72 95 "test_timing" 73 96 ]; 97 + 98 + pytestFlagsArray = [ "--benchmark-disable" ]; 74 99 75 100 meta = with lib; { 76 101 description = "Embedded control & testing library";