2018-02-01 21:31:30 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2020-06-16 09:01:37 +01:00
|
|
|
, fetchPypi
|
2018-02-01 21:31:30 +00:00
|
|
|
, nose
|
|
|
|
, can
|
|
|
|
, canmatrix }:
|
|
|
|
|
2020-06-16 09:01:37 +01:00
|
|
|
buildPythonPackage rec {
|
2018-02-01 21:31:30 +00:00
|
|
|
pname = "canopen";
|
2020-11-29 14:04:24 +00:00
|
|
|
version = "1.2.0";
|
2018-02-01 21:31:30 +00:00
|
|
|
|
2020-06-16 09:01:37 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:24 +00:00
|
|
|
sha256 = "15d49f1f71e9989dde6e3b75fb8445c76bd223064dfc0ac629fe9ecb0e21fba9";
|
2018-02-01 21:31:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs =
|
|
|
|
[ can
|
|
|
|
canmatrix
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/christiansandberg/canopen/";
|
2018-02-01 21:31:30 +00:00
|
|
|
description = "CANopen stack implementation";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ sorki ];
|
|
|
|
};
|
|
|
|
}
|