Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e02d869f1a87
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6b554cb1dd22
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jan 2, 2021

  1. Copy the full SHA
    3d5ea9e View commit details
  2. Merge pull request #108223 from fabaff/pyi2cflash

    python3Packages.pyi2cflash: init at 0.2.2
    prusnak authored Jan 2, 2021
    Copy the full SHA
    6b554cb View commit details
Showing with 33 additions and 0 deletions.
  1. +31 −0 pkgs/development/python-modules/pyi2cflash/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
31 changes: 31 additions & 0 deletions pkgs/development/python-modules/pyi2cflash/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -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 { };