python.pkgs.i2c-tools: init at i2c-tools.version
This commit is contained in:
21
pkgs/development/python-modules/i2c-tools/default.nix
Normal file
21
pkgs/development/python-modules/i2c-tools/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user