python.pkgs.i2c-tools: init at i2c-tools.version

This commit is contained in:
Evils 2021-05-01 16:24:56 +02:00 committed by Jonathan Ringer
parent c78b9b47cf
commit 27ed1b4b15
2 changed files with 25 additions and 0 deletions

View 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 ];
};
}

View File

@ -3184,6 +3184,10 @@ in {
hyppo = callPackage ../development/python-modules/hyppo { };
i2c-tools = callPackage ../development/python-modules/i2c-tools {
inherit (pkgs) i2c-tools;
};
i3ipc = callPackage ../development/python-modules/i3ipc { };
i3-py = callPackage ../development/python-modules/i3-py { };