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

28 lines
558 B
Nix
Raw Normal View History

2018-02-01 22:30:26 +01:00
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, pyserial
, nose
, mock }:
buildPythonPackage rec {
pname = "python-can";
2018-02-26 18:44:47 +01:00
version = "2.1.0";
2018-02-01 22:30:26 +01:00
src = fetchPypi {
inherit pname version;
2018-02-26 18:44:47 +01:00
sha256 = "4a5c01dd67feeda35f88e6c12ea14ac8cabd426b9be0cc5f9fd083fe90a9dbfc";
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 ];
};
}