504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
23 lines
447 B
Nix
23 lines
447 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, i2c-tools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
inherit (i2c-tools) pname version src;
|
|
|
|
format = "setuptools";
|
|
|
|
buildInputs = [ i2c-tools ];
|
|
|
|
preConfigure = "cd py-smbus";
|
|
|
|
meta = with lib; {
|
|
inherit (i2c-tools.meta) homepage platforms;
|
|
|
|
description = "wrapper for i2c-tools' smbus stuff";
|
|
# from py-smbus/smbusmodule.c
|
|
license = [ licenses.gpl2Only ];
|
|
maintainers = [ maintainers.evils ];
|
|
};
|
|
}
|