python3Packages.canopen: limit to later Python releases

This commit is contained in:
Fabian Affolter 2022-02-13 13:07:35 +01:00 committed by Jonathan Ringer
parent a69e3a8fa9
commit 79953e76a0

View file

@ -5,15 +5,19 @@
, can
, canmatrix
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "canopen";
version = "2.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-vMiqnqg/etpdoNregQOJd75SqTgCwmV2SXKesfggZdk=";
hash = "sha256-vMiqnqg/etpdoNregQOJd75SqTgCwmV2SXKesfggZdk=";
};
nativeBuildInputs = [
@ -29,7 +33,9 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [ "canopen" ];
pythonImportsCheck = [
"canopen"
];
meta = with lib; {
homepage = "https://github.com/christiansandberg/canopen/";