summary refs log tree commit diff
path: root/pkgs/development/python-modules/can/default.nix
blob: 395122b4da9e1de350f3ad176506a5691a6e57b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, pyserial
, nose
, mock }:

buildPythonPackage rec {
  pname = "python-can";
  version = "2.1.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "4a5c01dd67feeda35f88e6c12ea14ac8cabd426b9be0cc5f9fd083fe90a9dbfc";
  };

  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 ];
  };
}