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-06-16 09:01:37 +01:00
|
|
|
version = "1.1.0";
|
2018-02-01 21:31:30 +00:00
|
|
|
|
2020-06-16 09:01:37 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0fqa4p3qg7800fykib1x264gizhhmb6dz2hajgwr0hxf5xa19wdl";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|