python3Packages.canopen: limit to later Python releases
This commit is contained in:
parent
a69e3a8fa9
commit
79953e76a0
1 changed files with 8 additions and 2 deletions
|
@ -5,15 +5,19 @@
|
||||||
, can
|
, can
|
||||||
, canmatrix
|
, canmatrix
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "canopen";
|
pname = "canopen";
|
||||||
version = "2.0.0";
|
version = "2.0.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-vMiqnqg/etpdoNregQOJd75SqTgCwmV2SXKesfggZdk=";
|
hash = "sha256-vMiqnqg/etpdoNregQOJd75SqTgCwmV2SXKesfggZdk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -29,7 +33,9 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "canopen" ];
|
pythonImportsCheck = [
|
||||||
|
"canopen"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/christiansandberg/canopen/";
|
homepage = "https://github.com/christiansandberg/canopen/";
|
||||||
|
|
Loading…
Reference in a new issue