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

31 lines
576 B
Nix
Raw Normal View History

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