nixpkgs/pkgs/development/python-modules/canopen/default.nix

31 lines
564 B
Nix
Raw Normal View History

2018-02-01 22:31:30 +01:00
{ lib
, buildPythonPackage
, fetchPypi
2018-02-01 22:31:30 +01:00
, nose
, can
, canmatrix }:
buildPythonPackage rec {
2018-02-01 22:31:30 +01:00
pname = "canopen";
version = "1.1.0";
2018-02-01 22:31:30 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "0fqa4p3qg7800fykib1x264gizhhmb6dz2hajgwr0hxf5xa19wdl";
2018-02-01 22:31:30 +01:00
};
propagatedBuildInputs =
[ can
canmatrix
];
checkInputs = [ nose ];
meta = with lib; {
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 ];
};
}