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/pyi2cflash/default.nix

31 lines
619 B

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