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: 3768b6f03aa8
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ee8309dbe6ff
Choose a head ref
  • 4 commits
  • 4 files changed
  • 2 contributors

Commits on Jan 21, 2021

  1. Copy the full SHA
    ae0ea7e View commit details

Commits on Jan 24, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d2f8664 View commit details
  2. Copy the full SHA
    a2f253d View commit details

Commits on Jan 25, 2021

  1. Copy the full SHA
    ee8309d View commit details
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
}:

buildPythonPackage rec {
pname = "Adafruit-PlatformDetect";
version = "2.27.1";

src = fetchPypi {
inherit pname version;
sha256 = "0rnmy74rjjcyni5sr8h1djffpj7wngn2wqckl5vknp2smaihp34l";
};

nativeBuildInputs = [ setuptools-scm ];

# Project has not published tests yet
doCheck = false;
pythonImportsCheck = [ "adafruit_platformdetect" ];

meta = with lib; {
description = "Platform detection for use by Adafruit libraries";
homepage = "https://github.com/adafruit/Adafruit_Python_PlatformDetect";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
29 changes: 29 additions & 0 deletions pkgs/development/python-modules/adafruit-pureio/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
}:

buildPythonPackage rec {
pname = "Adafruit-PureIO";
version = "1.1.8";

src = fetchPypi {
pname = "Adafruit_PureIO";
inherit version;
sha256 = "1mfa6sfz7qwgajz3lqw0s69ivvwbwvblwkjzbrwdrxjbma4jaw66";
};

nativeBuildInputs = [ setuptools-scm ];

# Physical SMBus is not present
doCheck = false;
pythonImportsCheck = [ "Adafruit_PureIO" ];

meta = with lib; {
description = "Python interface to Linux IO including I2C and SPI";
homepage = "https://github.com/adafruit/Adafruit_Python_PureIO";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
28 changes: 28 additions & 0 deletions pkgs/development/python-modules/binho-host-adapter/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyserial
}:

buildPythonPackage rec {
pname = "binho-host-adapter";
version = "0.1.6";

src = fetchPypi {
inherit pname version;
sha256 = "0mp8xa1qwaww2k5g2nqg7mcivzsbfw2ny1l9yjsi73109slafv8y";
};

propagatedBuildInputs = [ pyserial ];

# Project has no tests
doCheck = false;
pythonImportsCheck = [ "binhoHostAdapter" ];

meta = with lib; {
description = "Python library for Binho Multi-Protocol USB Host Adapters";
homepage = "https://github.com/adafruit/Adafruit_Python_PlatformDetect";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
6 changes: 6 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -162,6 +162,10 @@ in {

actdiag = callPackage ../development/python-modules/actdiag { };

adafruit-platformdetect = callPackage ../development/python-modules/adafruit-platformdetect { };

adafruit-pureio = callPackage ../development/python-modules/adafruit-pureio { };

adal = callPackage ../development/python-modules/adal { };

adb-homeassistant = callPackage ../development/python-modules/adb-homeassistant { };
@@ -921,6 +925,8 @@ in {

binaryornot = callPackage ../development/python-modules/binaryornot { };

binho-host-adapter = callPackage ../development/python-modules/binho-host-adapter { };

binwalk = callPackage ../development/python-modules/binwalk {
pyqtgraph = null;
matplotlib = null;