summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/i2c-tools/default.nix
blob: b6d21e76923b907bb0966d60eadd93557ee83854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  lib,
  buildPythonPackage,
  i2c-tools,
}:

buildPythonPackage {
  inherit (i2c-tools) pname version src;

  format = "setuptools";

  buildInputs = [ i2c-tools ];

  preConfigure = "cd py-smbus";

  meta = {
    inherit (i2c-tools.meta) homepage platforms;

    description = "Wrapper for i2c-tools' smbus stuff";
    # from py-smbus/smbusmodule.c
    license = [ lib.licenses.gpl2Only ];
    maintainers = [ ];
  };
}