3e2acf8aff
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
21 lines
421 B
Nix
21 lines
421 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, i2c-tools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
inherit (i2c-tools) pname version src;
|
|
|
|
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 ];
|
|
};
|
|
}
|