1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/python-modules/can/default.nix
2018-02-03 07:31:53 +01:00

28 lines
546 B
Nix

{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, pyserial
, nose
, mock }:
buildPythonPackage rec {
pname = "python-can";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1c6zfd29ck9ffdklfb5xgxvfl52xdaqd89isykkypm1ll97yk2fs";
};
propagatedBuildInputs = [ pyserial ];
checkInputs = [ nose mock ];
meta = with lib; {
homepage = https://github.com/hardbyte/python-can;
description = "CAN support for Python";
license = licenses.lgpl3;
maintainers = with maintainers; [ sorki ];
};
}