Merge pull request #108223 from fabaff/pyi2cflash
python3Packages.pyi2cflash: init at 0.2.2
This commit is contained in:
commit
6b554cb1dd
31
pkgs/development/python-modules/pyi2cflash/default.nix
Normal file
31
pkgs/development/python-modules/pyi2cflash/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pyftdi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyi2cflash";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1nkazgf7pajz7jym5rfy2df71lyfp4skxqbrg5ch0h4dwjdwllx1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyftdi
|
||||
];
|
||||
|
||||
# tests are not shipped with the PyPI source
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "i2cflash" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "I2C eeprom device drivers in Python";
|
||||
homepage = "https://github.com/eblot/pyi2cflash";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -5275,6 +5275,8 @@ in {
|
||||
|
||||
pyhs100 = callPackage ../development/python-modules/pyhs100 { };
|
||||
|
||||
pyi2cflash = callPackage ../development/python-modules/pyi2cflash { };
|
||||
|
||||
pyicloud = callPackage ../development/python-modules/pyicloud { };
|
||||
|
||||
PyICU = callPackage ../development/python-modules/pyicu { };
|
||||
|
Loading…
Reference in New Issue
Block a user