nixpkgs-suyu/pkgs/development/python-modules/can/default.nix

27 lines
549 B
Nix
Raw Normal View History

2018-02-01 22:30:26 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pyserial
, nose
, mock }:
buildPythonPackage rec {
pname = "python-can";
2018-07-22 12:06:03 +02:00
version = "2.2.1";
2018-02-01 22:30:26 +01:00
src = fetchPypi {
inherit pname version;
2018-07-22 12:06:03 +02:00
sha256 = "b5e93b2ee32bdd597d9d908afe5171c402a04c9678ba47b60f33506738b1375b";
2018-02-01 22:30:26 +01:00
};
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 ];
};
}