mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
python3.pkgs.can: Rename to python-can
This is correct name on PyPi: https://pypi.org/project/python-can
This commit is contained in:
parent
ceb07508cb
commit
68a70f098a
@ -3,7 +3,7 @@
|
|||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchPypi,
|
fetchPypi,
|
||||||
setuptools-scm,
|
setuptools-scm,
|
||||||
can,
|
python-can,
|
||||||
canmatrix,
|
canmatrix,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||||||
nativeBuildInputs = [ setuptools-scm ];
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
can
|
python-can
|
||||||
canmatrix
|
canmatrix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
argparse-addons,
|
argparse-addons,
|
||||||
bitstruct,
|
bitstruct,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
can,
|
python-can,
|
||||||
crccheck,
|
crccheck,
|
||||||
diskcache,
|
diskcache,
|
||||||
fetchPypi,
|
fetchPypi,
|
||||||
@ -36,7 +36,7 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
argparse-addons
|
argparse-addons
|
||||||
bitstruct
|
bitstruct
|
||||||
can
|
python-can
|
||||||
crccheck
|
crccheck
|
||||||
diskcache
|
diskcache
|
||||||
textparser
|
textparser
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
can,
|
python-can,
|
||||||
cobs,
|
cobs,
|
||||||
libpcap,
|
libpcap,
|
||||||
nunavut,
|
nunavut,
|
||||||
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
passthru.optional-dependencies = {
|
||||||
transport-can-pythoncan = [ can ] ++ can.optional-dependencies.serial;
|
transport-can-pythoncan = [ python-can ] ++ python-can.optional-dependencies.serial;
|
||||||
transport-serial = [
|
transport-serial = [
|
||||||
cobs
|
cobs
|
||||||
pyserial
|
pyserial
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "can";
|
pname = "python-can";
|
||||||
version = "4.4.2";
|
version = "4.4.2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
@ -7,7 +7,7 @@
|
|||||||
pycrypto,
|
pycrypto,
|
||||||
ecdsa, # TODO
|
ecdsa, # TODO
|
||||||
mock,
|
mock,
|
||||||
can,
|
python-can,
|
||||||
brotli,
|
brotli,
|
||||||
withOptionalDeps ? true,
|
withOptionalDeps ? true,
|
||||||
tcpdump,
|
tcpdump,
|
||||||
@ -86,7 +86,7 @@ buildPythonPackage rec {
|
|||||||
doCheck = false;
|
doCheck = false;
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
mock
|
mock
|
||||||
can
|
python-can
|
||||||
brotli
|
brotli
|
||||||
];
|
];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||||||
makeWrapper
|
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.
|
# we need to run this to prebuild the chelper.
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
|
@ -47,7 +47,7 @@ buildPythonApplication rec {
|
|||||||
aiocoap
|
aiocoap
|
||||||
awsiotpythonsdk
|
awsiotpythonsdk
|
||||||
bluepy
|
bluepy
|
||||||
can
|
python-can
|
||||||
cmd2
|
cmd2
|
||||||
cryptography
|
cryptography
|
||||||
paho-mqtt
|
paho-mqtt
|
||||||
|
@ -27,7 +27,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
aiohttp
|
aiohttp
|
||||||
aiosqlite
|
aiosqlite
|
||||||
argcomplete
|
argcomplete
|
||||||
can
|
python-can
|
||||||
exitcode
|
exitcode
|
||||||
httpx
|
httpx
|
||||||
platformdirs
|
platformdirs
|
||||||
|
@ -87,6 +87,7 @@ mapAliases ({
|
|||||||
BTrees = btrees; # added 2023-02-19
|
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
|
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
|
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
|
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
|
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
|
cchardet = faust-cchardet; # added 2023-03-02
|
||||||
|
@ -1961,8 +1961,6 @@ self: super: with self; {
|
|||||||
|
|
||||||
camel-converter = callPackage ../development/python-modules/camel-converter { };
|
camel-converter = callPackage ../development/python-modules/camel-converter { };
|
||||||
|
|
||||||
can = callPackage ../development/python-modules/can { };
|
|
||||||
|
|
||||||
canals = callPackage ../development/python-modules/canals { };
|
canals = callPackage ../development/python-modules/canals { };
|
||||||
|
|
||||||
canmatrix = callPackage ../development/python-modules/canmatrix { };
|
canmatrix = callPackage ../development/python-modules/canmatrix { };
|
||||||
@ -10428,6 +10426,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
pywebcopy = callPackage ../development/python-modules/pywebcopy { };
|
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-codon-tables = callPackage ../development/python-modules/python-codon-tables { };
|
||||||
|
|
||||||
python-creole = callPackage ../development/python-modules/python-creole { };
|
python-creole = callPackage ../development/python-modules/python-creole { };
|
||||||
|
Loading…
Reference in New Issue
Block a user