depot/third_party/nixpkgs/pkgs/development/python-modules/canopen/default.nix
Default email 78efc47b99 Project import generated by Copybara.
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
2020-12-07 07:45:13 +00:00

30 lines
576 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, can
, canmatrix }:
buildPythonPackage rec {
pname = "canopen";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "15d49f1f71e9989dde6e3b75fb8445c76bd223064dfc0ac629fe9ecb0e21fba9";
};
propagatedBuildInputs =
[ can
canmatrix
];
checkInputs = [ nose ];
meta = with lib; {
homepage = "https://github.com/christiansandberg/canopen/";
description = "CANopen stack implementation";
license = licenses.lgpl3;
maintainers = with maintainers; [ sorki ];
};
}