python.pkgs.i2c-tools: init at i2c-tools.version
This commit is contained in:
parent
c78b9b47cf
commit
27ed1b4b15
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -3184,6 +3184,10 @@ in {
|
|||||||
|
|
||||||
hyppo = callPackage ../development/python-modules/hyppo { };
|
hyppo = callPackage ../development/python-modules/hyppo { };
|
||||||
|
|
||||||
|
i2c-tools = callPackage ../development/python-modules/i2c-tools {
|
||||||
|
inherit (pkgs) i2c-tools;
|
||||||
|
};
|
||||||
|
|
||||||
i3ipc = callPackage ../development/python-modules/i3ipc { };
|
i3ipc = callPackage ../development/python-modules/i3ipc { };
|
||||||
|
|
||||||
i3-py = callPackage ../development/python-modules/i3-py { };
|
i3-py = callPackage ../development/python-modules/i3-py { };
|
||||||
|
Loading…
Reference in New Issue
Block a user