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-11-29 15:04:24 +01:00
|
|
|
version = "1.2.0";
|
2018-02-01 22:31:30 +01:00
|
|
|
|
2020-06-16 10:01:37 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 15:04:24 +01:00
|
|
|
sha256 = "15d49f1f71e9989dde6e3b75fb8445c76bd223064dfc0ac629fe9ecb0e21fba9";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|