about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/binho-host-adapter/default.nix
blob: 2249a28a5547eefaeea36e9b8286b7485eb5a697 (plain) (blame)
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
{ 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 ];
  };
}