python3.pkgs.can: Rename to python-can

This is correct name on PyPi: https://pypi.org/project/python-can
This commit is contained in:
adisbladis 2024-08-12 14:46:21 +12:00
parent ceb07508cb
commit 68a70f098a
10 changed files with 15 additions and 14 deletions

View File

@ -3,7 +3,7 @@
buildPythonPackage,
fetchPypi,
setuptools-scm,
can,
python-can,
canmatrix,
pytestCheckHook,
pythonOlder,
@ -24,7 +24,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
can
python-can
canmatrix
];

View File

@ -3,7 +3,7 @@
argparse-addons,
bitstruct,
buildPythonPackage,
can,
python-can,
crccheck,
diskcache,
fetchPypi,
@ -36,7 +36,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
argparse-addons
bitstruct
can
python-can
crccheck
diskcache
textparser

View File

@ -3,7 +3,7 @@
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
can,
python-can,
cobs,
libpcap,
nunavut,
@ -34,7 +34,7 @@ buildPythonPackage rec {
];
passthru.optional-dependencies = {
transport-can-pythoncan = [ can ] ++ can.optional-dependencies.serial;
transport-can-pythoncan = [ python-can ] ++ python-can.optional-dependencies.serial;
transport-serial = [
cobs
pyserial

View File

@ -19,7 +19,7 @@
}:
buildPythonPackage rec {
pname = "can";
pname = "python-can";
version = "4.4.2";
pyproject = true;

View File

@ -7,7 +7,7 @@
pycrypto,
ecdsa, # TODO
mock,
can,
python-can,
brotli,
withOptionalDeps ? true,
tcpdump,
@ -86,7 +86,7 @@ buildPythonPackage rec {
doCheck = false;
nativeCheckInputs = [
mock
can
python-can
brotli
];
checkPhase = ''

View File

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
makeWrapper
];
buildInputs = [ (python3.withPackages (p: with p; [ can cffi pyserial greenlet jinja2 markupsafe numpy ])) ];
buildInputs = [ (python3.withPackages (p: with p; [ python-can cffi pyserial greenlet jinja2 markupsafe numpy ])) ];
# we need to run this to prebuild the chelper.
postBuild = ''

View File

@ -47,7 +47,7 @@ buildPythonApplication rec {
aiocoap
awsiotpythonsdk
bluepy
can
python-can
cmd2
cryptography
paho-mqtt

View File

@ -27,7 +27,7 @@ python3.pkgs.buildPythonApplication rec {
aiohttp
aiosqlite
argcomplete
can
python-can
exitcode
httpx
platformdirs

View File

@ -87,6 +87,7 @@ mapAliases ({
BTrees = btrees; # added 2023-02-19
cacheyou = throw "cacheyou has been removed, as it was no longer used for the only consumer pdm"; # added 2023-12-21
cadquery = throw "cadquery was removed, because it was disabled on all python version since 3.8 and marked as broken"; # added 2024-05-13
can = python-can; # added 2024-08-12
carrot = throw "carrot has been removed, as its development was discontinued in 2012"; # added 2022-01-18
case = throw "case has been removed, since it is an unused leaf package with a dependency on the nose test framework"; # added 2024-07-08
cchardet = faust-cchardet; # added 2023-03-02

View File

@ -1961,8 +1961,6 @@ self: super: with self; {
camel-converter = callPackage ../development/python-modules/camel-converter { };
can = callPackage ../development/python-modules/can { };
canals = callPackage ../development/python-modules/canals { };
canmatrix = callPackage ../development/python-modules/canmatrix { };
@ -10428,6 +10426,8 @@ self: super: with self; {
pywebcopy = callPackage ../development/python-modules/pywebcopy { };
python-can = callPackage ../development/python-modules/python-can { };
python-codon-tables = callPackage ../development/python-modules/python-codon-tables { };
python-creole = callPackage ../development/python-modules/python-creole { };