diff options
| author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-10-11 01:45:45 +0200 |
|---|---|---|
| committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2024-10-13 11:09:57 +0200 |
| commit | d3adbbcaf4f054300a2d2a37ed22c2401acdc64b (patch) | |
| tree | 169151473b6dead88f77e9315a33f0ef5a1e5f5a /pkgs/development/python-modules/python-can | |
| parent | c8d67ce1bd720b67ad22dbcb659fcfe0ea5db370 (diff) | |
python312Packages.python-can: modernize
Diffstat (limited to 'pkgs/development/python-modules/python-can')
| -rw-r--r-- | pkgs/development/python-modules/python-can/default.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/python-can/default.nix b/pkgs/development/python-modules/python-can/default.nix index 2fd0769d71d2..d762c5f0ed69 100644 --- a/pkgs/development/python-modules/python-can/default.nix +++ b/pkgs/development/python-modules/python-can/default.nix @@ -9,6 +9,7 @@ parameterized, msgpack, pyserial, + pytest-cov-stub, pytest-timeout, pytestCheckHook, pythonOlder, @@ -32,15 +33,11 @@ buildPythonPackage rec { hash = "sha256-p3B1LWSygDX0UhIx4XhXv15H7Hwn9UB20jFIPDZnuNs="; }; - postPatch = '' - substituteInPlace tox.ini \ - --replace " --cov=can --cov-config=tox.ini --cov-report=lcov --cov-report=term" "" - ''; pythonRelaxDeps = [ "msgpack" ]; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ msgpack packaging typing-extensions @@ -57,6 +54,7 @@ buildPythonPackage rec { future hypothesis parameterized + pytest-cov-stub pytest-timeout pytestCheckHook ] ++ optional-dependencies.serial; |
