python3Packages.crownstone-uart: init at 2.1.0
This commit is contained in:
parent
0465cd739c
commit
9cf1425116
41
pkgs/development/python-modules/crownstone-uart/default.nix
Normal file
41
pkgs/development/python-modules/crownstone-uart/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, crownstone-core
|
||||
, buildPythonPackage
|
||||
, pyserial
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "crownstone-uart";
|
||||
version = "2.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "crownstone";
|
||||
repo = "crownstone-lib-python-uart";
|
||||
rev = version;
|
||||
sha256 = "0sdz131vmrfp6hrm9iwqw8mj9qazsxg7b85yadib1122w9f3b1zc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
crownstone-core
|
||||
pyserial
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"crownstone_uart"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for communicating with Crownstone USB dongles";
|
||||
homepage = "https://github.com/crownstone/crownstone-lib-python-uart";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -1743,6 +1743,8 @@ in {
|
||||
|
||||
crownstone-core = callPackage ../development/python-modules/crownstone-core { };
|
||||
|
||||
crownstone-uart = callPackage ../development/python-modules/crownstone-uart { };
|
||||
|
||||
cryptacular = callPackage ../development/python-modules/cryptacular { };
|
||||
|
||||
cryptography = callPackage ../development/python-modules/cryptography {
|
||||
|
Loading…
Reference in New Issue
Block a user