Fabian Affolter 2023-11-23 11:24:48 +01:00
parent fa094c6dd4
commit 512a00af9f

View file

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, future
@ -11,7 +12,6 @@
, pytestCheckHook
, pythonOlder
, setuptools
, stdenv
, typing-extensions
, wrapt
, uptime
@ -19,8 +19,8 @@
buildPythonPackage rec {
pname = "can";
version = "4.2.2";
format = "setuptools";
version = "4.3.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "hardbyte";
repo = "python-can";
rev = "refs/tags/v${version}";
hash = "sha256-MyVGjAy13Ne0PkVufB0JDNEZHhVBzeUYWWlH72ib/pI=";
hash = "sha256-JsYAh5Z6RIX6aWpSuW+VIzJRPf5MfNbBGg36v3CQiLU=";
};
postPatch = ''
@ -36,10 +36,13 @@ buildPythonPackage rec {
--replace " --cov=can --cov-config=tox.ini --cov-report=lcov --cov-report=term" ""
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
msgpack
packaging
setuptools
typing-extensions
wrapt
];