nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 33 lines 795 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools-scm, 6}: 7 8buildPythonPackage rec { 9 pname = "adafruit-pureio"; 10 version = "1.1.11"; 11 pyproject = true; 12 13 src = fetchPypi { 14 pname = "Adafruit_PureIO"; 15 inherit version; 16 hash = "sha256-xM+7NlcxlC0fEJKhFvR9/a4K7xjFsn8QcrWCStXqjHw="; 17 }; 18 19 nativeBuildInputs = [ setuptools-scm ]; 20 21 # Physical SMBus is not present 22 doCheck = false; 23 24 pythonImportsCheck = [ "Adafruit_PureIO" ]; 25 26 meta = { 27 description = "Python interface to Linux IO including I2C and SPI"; 28 homepage = "https://github.com/adafruit/Adafruit_Python_PureIO"; 29 changelog = "https://github.com/adafruit/Adafruit_Python_PureIO/releases/tag/${version}"; 30 license = with lib.licenses; [ mit ]; 31 maintainers = with lib.maintainers; [ fab ]; 32 }; 33}