Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pyi2cflash / default.nix
blob7ac3aa5af08e98d0855052d10836b2ffbdb9c68f
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pyftdi
5 }:
7 buildPythonPackage rec {
8   pname = "pyi2cflash";
9   version = "0.2.2";
11   src = fetchPypi {
12     inherit pname version;
13     sha256 = "1nkazgf7pajz7jym5rfy2df71lyfp4skxqbrg5ch0h4dwjdwllx1";
14   };
16   propagatedBuildInputs = [
17     pyftdi
18   ];
20   # tests are not shipped with the PyPI source
21   doCheck = false;
23   pythonImportsCheck = [ "i2cflash" ];
25   meta = with lib; {
26     description = "I2C eeprom device drivers in Python";
27     homepage = "https://github.com/eblot/pyi2cflash";
28     license = with licenses; [ mit ];
29     maintainers = with maintainers; [ fab ];
30   };