python3Packages.pyblackbird: init at 0.5

This commit is contained in:
Fabian Affolter 2021-01-17 21:50:46 +01:00
parent 0bcd0167a4
commit 069c45c2af
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyserial
, pyserial-asyncio
}:
buildPythonPackage rec {
pname = "pyblackbird";
version = "0.5";
src = fetchFromGitHub {
owner = "koolsb";
repo = pname;
rev = version;
sha256 = "0m1yd1cb3z8011x7nicxpf091bdcwghcphn0l21c65f71rabzg6s";
};
propagatedBuildInputs = [
pyserial
pyserial-asyncio
];
# Test setup try to create a serial port
doCheck = false;
pythonImportsCheck = [ "pyblackbird" ];
meta = with lib; {
description = "Python implementation for Monoprice Blackbird units";
homepage = "https://github.com/koolsb/pyblackbird";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5139,6 +5139,8 @@ in {
pybindgen = callPackage ../development/python-modules/pybindgen { };
pyblackbird = callPackage ../development/python-modules/pyblackbird { };
pyblake2 = callPackage ../development/python-modules/pyblake2 { };
pyblock = callPackage ../development/python-modules/pyblock { };