My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/i2c-tools/default.nix

21 lines
421 B

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