Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 30 lines 564 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, nose 5, can 6, canmatrix }: 7 8buildPythonPackage rec { 9 pname = "canopen"; 10 version = "1.1.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "0fqa4p3qg7800fykib1x264gizhhmb6dz2hajgwr0hxf5xa19wdl"; 15 }; 16 17 propagatedBuildInputs = 18 [ can 19 canmatrix 20 ]; 21 22 checkInputs = [ nose ]; 23 24 meta = with lib; { 25 homepage = "https://github.com/christiansandberg/canopen/"; 26 description = "CANopen stack implementation"; 27 license = licenses.lgpl3; 28 maintainers = with maintainers; [ sorki ]; 29 }; 30}