blob: ef37ccb1e917f32e644ff9fb8aa0ca0e3e1d9a9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
lib,
buildPythonPackage,
fetchPypi,
pyftdi,
}:
buildPythonPackage rec {
pname = "pyi2cflash";
version = "0.2.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "1nkazgf7pajz7jym5rfy2df71lyfp4skxqbrg5ch0h4dwjdwllx1";
};
propagatedBuildInputs = [ pyftdi ];
# tests are not shipped with the PyPI source
doCheck = false;
pythonImportsCheck = [ "i2cflash" ];
meta = {
description = "I2C eeprom device drivers in Python";
homepage = "https://github.com/eblot/pyi2cflash";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|