7 buildPythonPackage rec {
8 inherit (i2c-tools) pname version src;
10 format = "setuptools";
12 buildInputs = [ i2c-tools ];
14 preConfigure = "cd py-smbus";
17 inherit (i2c-tools.meta) homepage platforms;
19 description = "wrapper for i2c-tools' smbus stuff";
20 # from py-smbus/smbusmodule.c
21 license = [ licenses.gpl2Only ];
22 maintainers = [ maintainers.evils ];