about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-11-23 11:24:48 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2023-11-23 11:25:58 +0100
commit512a00af9f403a462bc554e9a84e3ea24cdc955b (patch)
tree3c17cd866ca8fa0bbe1486a1b96dc445f158452a
parentfa094c6dd42f8e62334a146e463e3e4684d405c0 (diff)
downloadnixlib-512a00af9f403a462bc554e9a84e3ea24cdc955b.tar
nixlib-512a00af9f403a462bc554e9a84e3ea24cdc955b.tar.gz
nixlib-512a00af9f403a462bc554e9a84e3ea24cdc955b.tar.bz2
nixlib-512a00af9f403a462bc554e9a84e3ea24cdc955b.tar.lz
nixlib-512a00af9f403a462bc554e9a84e3ea24cdc955b.tar.xz
nixlib-512a00af9f403a462bc554e9a84e3ea24cdc955b.tar.zst
nixlib-512a00af9f403a462bc554e9a84e3ea24cdc955b.zip
python311Packages.can: 4.2.2 -> 4.3.0
Diff: https://github.com/hardbyte/python-can/compare/refs/tags/v4.2.2...v4.3.0

Changelog: https://github.com/hardbyte/python-can/releases/tag/v4.3.0
-rw-r--r--pkgs/development/python-modules/can/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/can/default.nix b/pkgs/development/python-modules/can/default.nix
index 2ed28098a63e..4688c6507495 100644
--- a/pkgs/development/python-modules/can/default.nix
+++ b/pkgs/development/python-modules/can/default.nix
@@ -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
   ];