mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
f32a8650fd
Bump version for the python canopen module, move to fetchPypi and re-enable tests.
31 lines
564 B
Nix
31 lines
564 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, can
|
|
, canmatrix }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "canopen";
|
|
version = "1.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0fqa4p3qg7800fykib1x264gizhhmb6dz2hajgwr0hxf5xa19wdl";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|