depot/third_party/nixpkgs/pkgs/development/python-modules/i2c-tools/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

24 lines
452 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 ];
};
}