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