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

View file

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